From 5cfccf75af614ca5838cfa5b889895a89fadccc3 Mon Sep 17 00:00:00 2001 From: emma Date: Fri, 7 Jun 2024 23:30:13 -0600 Subject: [PATCH] tests: bonsai/test_env: set -e; tests: strcmp: -h causes error --- tests/bonsai/strcmp.sh | 2 +- tests/bonsai/test_env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bonsai/strcmp.sh b/tests/bonsai/strcmp.sh index 018cee2..9d9024e 100755 --- a/tests/bonsai/strcmp.sh +++ b/tests/bonsai/strcmp.sh @@ -12,5 +12,5 @@ strcmp equals equals ! strcmp inequals equals strcmp - - -strcmp -h +! strcmp -h ! strcmp nocmp diff --git a/tests/bonsai/test_env b/tests/bonsai/test_env index a3d07ca..aaf2b50 100644 --- a/tests/bonsai/test_env +++ b/tests/bonsai/test_env @@ -1,5 +1,5 @@ #!/bin/sh -set -x +set -ex alias "$UTIL=$BIN/$UTIL"