diff options
author | Evan Huus <eapache@gmail.com> | 2013-10-06 18:57:01 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-10-06 18:57:01 +0000 |
commit | 62c230c7b1117e35b0ab1c739919b526b491c8b2 (patch) | |
tree | 3b8ce65af0697afb4ab80f1fa5de2875f5c16483 /test/test.sh | |
parent | 7888bec0bc68904ba62c8dc3eb626a20e636d4a4 (diff) |
From Peter Wu via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9174
Reorg more of the test variables, still separating source and test directories.
More minor fixes from me.
svn path=/trunk/; revision=52412
Diffstat (limited to 'test/test.sh')
-rwxr-xr-x | test/test.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test.sh b/test/test.sh index 47e2465655..36e51f2644 100755 --- a/test/test.sh +++ b/test/test.sh @@ -84,10 +84,12 @@ fi test_cleanup() { if [ $TEST_OUTDIR_CLEAN = 1 ]; then - # display contents of test outputs - grep -r . . + # display contents of test outputs, ignore directory: + # home (decryption suite) + grep -r . --exclude-dir=home . rm -rf "$TEST_OUTDIR" - else + elif ! rmdir "$TEST_OUTDIR" 2>/dev/null; then + # if directory is non-empty, print directory echo "Test results are available in $TEST_OUTDIR" fi } |