diff options
author | kate.ward <kate.ward@forestent.com> | 2008-10-21 23:29:23 +0000 |
---|---|---|
committer | kate.ward <kate.ward@forestent.com> | 2008-10-21 23:29:23 +0000 |
commit | 2f3cad903fae5df19c6c8ac0ce2e72bae2fdde50 (patch) | |
tree | 11826144c06d936c40f7c4abaacfaaea9dcb17b2 /source/1.0/src/shflags_test_parsing.sh | |
parent | 20d0678445135ae8077257e0e8abf54a1769ca3d (diff) | |
download | shflags-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-x | source/1.0/src/shflags_test_parsing.sh | 6 |
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 } |