apenwarr-redo/t/100-args/passfailtest.do
Avery Pennarun 7822f5a5bb 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 01:56:50 -05:00

15 lines
332 B
Text

. ../skip-if-minimal-do.sh
rm -f pleasefail
redo passfail
[ -e passfail ] || exit 42
PF1=$(cat passfail)
touch pleasefail
redo passfail 2>/dev/null && exit 43
[ -e passfail ] || exit 44
PF2=$(cat passfail)
[ "$PF1" = "$PF2" ] || exit 45
rm -f pleasefail
redo passfail || exit 46
PF3=$(cat passfail)
[ "$PF1" != "$PF3" ] || exit 47