t/201-fail: add a simple test for non-existent source files.
(This actually went uncaught in my redo rewrite. Oops.)
This commit is contained in:
parent
7822f5a5bb
commit
c38e2bee92
1 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,13 @@
|
||||||
|
rm -f this-doesnt-exist
|
||||||
|
! redo this-doesnt-exist >&/dev/null || exit 32 # expected to fail
|
||||||
|
! redo-ifchange this-doesnt-exist >&/dev/null || exit 33 # expected to fail
|
||||||
|
redo-ifcreate this-doesnt-exist >&/dev/null || exit 34 # expected to pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rm -f fail
|
rm -f fail
|
||||||
! redo-ifchange fail >&/dev/null || exit 44 # expected to fail
|
! redo-ifchange fail >&/dev/null || exit 44 # expected to fail
|
||||||
|
|
||||||
touch fail
|
touch fail
|
||||||
../flush-cache
|
../flush-cache
|
||||||
redo-ifchange fail >&/dev/null || exit 55 # expected to pass
|
redo-ifchange fail >&/dev/null || exit 55 # expected to pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue