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.
This commit is contained in:
parent
116c279e96
commit
7822f5a5bb
170 changed files with 100 additions and 80 deletions
8
t/350-deps/overwrite3.do
Normal file
8
t/350-deps/overwrite3.do
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# we don't delete $3 here, we just truncate and overwrite it. But redo
|
||||
# can detect this by checking the current file position of our stdout when
|
||||
# we exit, and making sure it equals either 0 or the file size.
|
||||
#
|
||||
# If it doesn't, then we accidentally wrote to *both* stdout and a separate
|
||||
# file, and we should get warned about it.
|
||||
echo hello world
|
||||
echo goodbye world >$3
|
||||
Loading…
Add table
Add a link
Reference in a new issue