]> granicus.if.org Git - jq/commitdiff
Use set -u in tests/setup
authorNicolas Williams <nico@cryptonector.com>
Sat, 27 Jun 2015 04:36:34 +0000 (23:36 -0500)
committerNicolas Williams <nico@cryptonector.com>
Sat, 27 Jun 2015 04:36:34 +0000 (23:36 -0500)
tests/setup

index 56b7c0b48af62b2088c1b9168a1310c2100c6e9b..d94ca63a0b4cfde07d98a19d41a619d41e67a91a 100755 (executable)
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-set -e
+# This is meant to be included by each test's shell script driver.
+
+set -eu
 
 JQTESTDIR=$(cd "$(dirname "$0")" && pwd)
 JQBASEDIR=$JQTESTDIR/..