This website requires JavaScript.
CODE
0x495fab29
Explore
Sign in
forks
/
apenwarr-redo
Watch
1
Star
0
Fork
You've already forked apenwarr-redo
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1f79bf1174
apenwarr-redo
/
t
/
202-del
/
clean.do
2 lines
38 B
Text
Raw
Normal View
History
Unescape
Escape
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:36:09 +00:00
rm -rf destruct
t/*: rearrange tests into numbered directories. It was getting way too ad-hoc in there. Let's reorganize the tests so that there's a good, obvious, suggested sequence to run them in.
2012-02-08 00:33:00 -05:00
rm -f deltest2 *~ .*~
Reference in a new issue
Copy permalink