summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2015-06-26 23:36:34 -0500
committerNicolas Williams <nico@cryptonector.com>2015-06-26 23:36:34 -0500
commita011ac6392226c1969f6f7b8eb3d951920c712cb (patch)
tree9a406eec41824922ec187074aea39c2b99bd3dfd
parent505e23124f76ae78a0cb203d3960ec398386c201 (diff)
Use set -u in tests/setup
-rwxr-xr-xtests/setup4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/setup b/tests/setup
index 56b7c0b4..d94ca63a 100755
--- a/tests/setup
+++ b/tests/setup
@@ -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/..