aboutsummaryrefslogtreecommitdiff
path: root/source/1.0/src/shflags_test_parsing.sh
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2013-01-12 23:10:15 +0000
committerkate.ward <kate.ward@forestent.com>2013-01-12 23:10:15 +0000
commitc66a5fcb3684aad21d7c18318ccebb7f8c467430 (patch)
tree2ea0799261bfb3af4c9653fea6e479aeea629d30 /source/1.0/src/shflags_test_parsing.sh
parent0a4f16fc4e9bcffa9732c057877aa42e59f0a95b (diff)
downloadshflags-c66a5fcb3684aad21d7c18318ccebb7f8c467430.tar.gz
reworked validFloat() and validInt() functions again
Diffstat (limited to 'source/1.0/src/shflags_test_parsing.sh')
-rwxr-xr-xsource/1.0/src/shflags_test_parsing.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/1.0/src/shflags_test_parsing.sh b/source/1.0/src/shflags_test_parsing.sh
index f585e96..9f4ba05 100755
--- a/source/1.0/src/shflags_test_parsing.sh
+++ b/source/1.0/src/shflags_test_parsing.sh
@@ -12,6 +12,12 @@
# TODO(kward): assert on FLAGS errors
# TODO(kward): testNonStandardIFS()
+# exit immediately if a pipeline or subshell exits with a non-zero status.
+#set -e
+
+# treat unset variables as an error
+set -u
+
# load test helpers
. ./shflags_test_helpers