tests: Add 100-test-false.sh.
* tests/100-test-false.sh: New file. * Makefile.am (FULL_TESTS): Add it.
This commit is contained in:
parent
06099ddead
commit
18aefdda18
|
@ -230,6 +230,7 @@ FULL_TESTS = \
|
|||
tests/100-cd.sh \
|
||||
tests/100-cd-foo.sh \
|
||||
tests/100-test.sh \
|
||||
tests/100-test-false.sh \
|
||||
tests/100-test-file.sh \
|
||||
tests/100-bracket-file.sh
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
set +e
|
||||
false
|
||||
if test $? -ne 0; then
|
||||
exit 0;
|
||||
fi
|
||||
exit 1
|
Loading…
Reference in New Issue