Test for previous override fix.

This commit is contained in:
Avery Pennarun 2011-03-30 23:29:20 -04:00
commit 92c3e7c5af
6 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,6 @@
redo example/clean curse/clean deps/clean "space dir/clean" stamp/clean \
defaults-flat/clean defaults-nested/clean autosubdir/clean
defaults-flat/clean defaults-nested/clean autosubdir/clean \
fail/clean
rm -f broken nonshelltest shellfile mode1 makedir.log chdir1 deltest2 \
hello [by]ellow *.o *~ .*~ *.log CC LD passfail silence silence.do \
touch1 touch1.do always1 ifcreate[12].dep ifcreate[12] *.vartest \

1
t/fail/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/fail

1
t/fail/clean.do Normal file
View file

@ -0,0 +1 @@
rm -f fail *~ .*~

1
t/fail/fail.do Normal file
View file

@ -0,0 +1 @@
false

5
t/fail/test.do Normal file
View file

@ -0,0 +1,5 @@
rm -f fail
! redo-ifchange fail >&/dev/null || exit 44 # expected to fail
touch fail
../flush-cache
redo-ifchange fail >&/dev/null || exit 55 # expected to pass

View file

@ -4,4 +4,6 @@ redo nonshelltest shelltest \
deltest deltest2 test.args test2.args passfailtest chdirtest \
curse/test deps/test "space dir/test" modetest makedir2 \
silencetest touchtest stamp/test alwaystest ifcreate-test \
unicode blank/blank vartest atime autosubdir/test pytest
unicode blank/blank vartest atime autosubdir/test pytest \
fail/test