aboutsummaryrefslogtreecommitdiff
path: root/source/1.0/src/shflags_test_parsing.sh
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2008-10-21 23:29:23 +0000
committerkate.ward <kate.ward@forestent.com>2008-10-21 23:29:23 +0000
commit2f3cad903fae5df19c6c8ac0ce2e72bae2fdde50 (patch)
tree11826144c06d936c40f7c4abaacfaaea9dcb17b2 /source/1.0/src/shflags_test_parsing.sh
parent20d0678445135ae8077257e0e8abf54a1769ca3d (diff)
downloadshflags-2f3cad903fae5df19c6c8ac0ce2e72bae2fdde50.tar.gz
created versions library and gen_test_results.sh, and updated several other things as a result
Diffstat (limited to 'source/1.0/src/shflags_test_parsing.sh')
-rwxr-xr-xsource/1.0/src/shflags_test_parsing.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/1.0/src/shflags_test_parsing.sh b/source/1.0/src/shflags_test_parsing.sh
index 7d84f14..adee461 100755
--- a/source/1.0/src/shflags_test_parsing.sh
+++ b/source/1.0/src/shflags_test_parsing.sh
@@ -173,13 +173,13 @@ _testValidStrings()
rtrn=$?
assertTrue "FLAGS (${value}) returned a non-zero result" ${rtrn}
assertEquals "string (${value}) test failed." "${value}" "${FLAGS_str}"
- th_showOutput ${rtrn} "${stdoutF}" "${stderrF}"
if [ ${rtrn} -eq ${FLAGS_TRUE} ]; then
- assertFalse 'expected no output to STDERR' "[ -s \"${stderrF}\" ]"
+ assertFalse 'expected no output to STDERR' "[ -s '${stderrF}' ]"
else
# validate that an error is thrown for unsupported getopt uses
- assertErrorMsg "${value}"
+ assertErrorMsg 'spaces in options'
fi
+ th_showOutput ${rtrn} "${stdoutF}" "${stderrF}"
done
}