From: Carl Worth Date: Wed, 10 Nov 2010 20:15:46 +0000 (-0800) Subject: test: Don't strip portions of test name after '-' for temporary files. X-Git-Tag: 0.5~49 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=08c735c58e9cc1074d31f21b8e6042adeb8d8844;hp=44ea57a0d10ddab514abea319c4d25ec4e36b51e test: Don't strip portions of test name after '-' for temporary files. 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. --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 8ecc9a08..feb24f8f 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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=