tests: Don't suppress stderr in some tests.
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 12 Jan 2020 20:40:23 +0000 (20:40 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 12 Jan 2020 20:40:23 +0000 (20:40 +0000)
Not necessary since we implemented PASS/FAIL in
commit 490d147a899cb682af67bc5bc3eb64a9ad00985e.

tests/00-all-fail.sh
tests/00-variable-not-found.sh

index 86fda73..e8a4c31 100755 (executable)
@@ -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
index c0cb899..7ccb705 100755 (executable)
@@ -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