From 334f6ad3a971e7f7747f804d58731dc92ff6e782 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sun, 12 Jan 2020 20:40:23 +0000 Subject: [PATCH] tests: Don't suppress stderr in some tests. Not necessary since we implemented PASS/FAIL in commit 490d147a899cb682af67bc5bc3eb64a9ad00985e. --- tests/00-all-fail.sh | 5 ++--- tests/00-variable-not-found.sh | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) 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 -- 1.8.3.1