diff options
author | kate.ward <kate.ward@forestent.com> | 2008-11-12 21:26:05 +0000 |
---|---|---|
committer | kate.ward <kate.ward@forestent.com> | 2008-11-12 21:26:05 +0000 |
commit | 1b600c53cdd5ad1b8a487d50ec1d1e9b0992166c (patch) | |
tree | 9ff94f0ed14f26ce1d63876e986ac8ccfb2ff6c4 /source/1.0/src/shflags_test_parsing.sh | |
parent | cd0bafa6ee2ddd87a13d0eb14219b551cfa31a63 (diff) | |
download | shflags-1b600c53cdd5ad1b8a487d50ec1d1e9b0992166c.tar.gz |
fixed recursion bug in _flags_getFlagInfo(), and put more common stuff into test helpers
Diffstat (limited to 'source/1.0/src/shflags_test_parsing.sh')
-rwxr-xr-x | source/1.0/src/shflags_test_parsing.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/1.0/src/shflags_test_parsing.sh b/source/1.0/src/shflags_test_parsing.sh index 34ae779..40ff4c9 100755 --- a/source/1.0/src/shflags_test_parsing.sh +++ b/source/1.0/src/shflags_test_parsing.sh @@ -259,14 +259,7 @@ testMultipleNonFlagStringArgsWithSpaces() oneTimeSetUp() { - # load flags - [ -n "${ZSH_VERSION:-}" ] && FLAGS_PARENT=$0 - . ${TH_SHFLAGS} - - tmpDir="${__shunit_tmpDir}/output" - mkdir "${tmpDir}" - stdoutF="${tmpDir}/stdout" - stderrF="${tmpDir}/stderr" + th_oneTimeSetUp if [ ${__FLAGS_GETOPT_VERS} -eq ${__FLAGS_GETOPT_VERS_STD} ]; then th_warn 'Standard version of getopt found. Some tests will be skipped.' |