8 if ("$@") >>$log 2>&1; then
10 echo "unexpected success:" "$@" >&2
17 # These should all fail because there is no matching .do file.
18 # In previous versions of redo, it would accidentally try to use
19 # $PWD/default.do even for ../path/file, which is incorrect. That
20 # could cause it to return success accidentally.
24 expect_fail 11 redo ../x/shouldfail
25 expect_fail 12 redo-ifchange ../x/shouldfail
29 expect_fail 21 redo ../x/shouldfail2
30 expect_fail 22 redo-ifchange ../x/shouldfail2