From 5e1dd2cf253dd9f75164cbeff098c7eae36c4fd7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 1 Nov 2019 15:19:03 -0400 Subject: tests.sh: Bail out if setup fails --- tests.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index e42a248..3b05bf6 100755 --- a/tests.sh +++ b/tests.sh @@ -16,6 +16,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # ############################################################################ +set -e set -o physical umask 022 @@ -965,6 +966,7 @@ function inum() { cd "$TMP" +set +e # Test cases -- cgit v1.2.3