apenwarr-redo/t/202-del
Avery Pennarun 1f79bf1174 Detect when a .do script deletes its stdout tmp file.
This can happen if we create the .tmp file in the same directory as the
target, and the .do file first does "rm -rf" on that directory, then
re-creates it.  The result is that the stdout file is lost.

We'll make this a warning if the .do script *didn't* write to stdout
(so the loss is harmless, just weird), and an error if they *did* write
to stdout, which we can detect because we still have an open fd on the
file, so we can fstat() it.
2018-12-12 03:45:33 +00:00
..
.gitignore Detect when a .do script deletes its stdout tmp file. 2018-12-12 03:45:33 +00:00
all.do Detect when a .do script deletes its stdout tmp file. 2018-12-12 03:45:33 +00:00
clean.do Detect when a .do script deletes its stdout tmp file. 2018-12-12 03:45:33 +00:00
deltest.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
deltest2.do t/*: rearrange tests into numbered directories. 2012-02-08 01:56:50 -05:00
deltest3.do Detect when a .do script deletes its stdout tmp file. 2018-12-12 03:45:33 +00:00