test: Don't strip portions of test name after '-' for temporary files.
authorCarl Worth <cworth@cworth.org>
Wed, 10 Nov 2010 20:15:46 +0000 (12:15 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 10 Nov 2010 21:09:31 +0000 (13:09 -0800)
We have test names like maildir-sync now, so it's cleaner if the
temporary files created are named things like maildir-sync-10.out
rather than maildir-10.out. Presumably the extra stripping here came
from naming conventions in git's test suite.

test/test-lib.sh

index 8ecc9a08cbcb92a84e23f4779d2fda6b00a61ae0..feb24f8f688d6e6c944b71b8d3adbc4cfb753688 100644 (file)
@@ -909,7 +909,6 @@ EOF
 cd -P "$test" || error "Cannot setup test environment"
 
 this_test=${0##*/}
-this_test=${this_test%%-*}
 for skp in $NOTMUCH_SKIP_TESTS
 do
        to_skip=