From: Richard W.M. Jones Date: Sun, 12 Jan 2020 20:40:23 +0000 (+0000) Subject: tests: Don't suppress stderr in some tests. X-Git-Tag: v'0.2'~22 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=334f6ad3a971e7f7747f804d58731dc92ff6e782;p=goals.git tests: Don't suppress stderr in some tests. Not necessary since we implemented PASS/FAIL in commit 490d147a899cb682af67bc5bc3eb64a9ad00985e. --- diff --git a/tests/00-all-fail.sh b/tests/00-all-fail.sh index 86fda73..e8a4c31 100755 --- a/tests/00-all-fail.sh +++ b/tests/00-all-fail.sh @@ -18,9 +18,8 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # This is expected to return an error, and as long as it does this -# script is successful. Don't print the error message because that -# will confuse everyone. -if goals -f 00-all-fail.gl 2>/dev/null; then +# script is successful. +if goals -f 00-all-fail.gl; then exit 1 else exit 0 diff --git a/tests/00-variable-not-found.sh b/tests/00-variable-not-found.sh index c0cb899..7ccb705 100755 --- a/tests/00-variable-not-found.sh +++ b/tests/00-variable-not-found.sh @@ -18,9 +18,8 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # This is expected to return an error, and as long as it does this -# script is successful. Don't print the error message because that -# will confuse everyone. -if goals -f 00-variable-not-found.gl 2>/dev/null; then +# script is successful. +if goals -f 00-variable-not-found.gl; then exit 1 else exit 0