test/basic: Ignore new files ending in ~
authorCarl Worth <cworth@cworth.org>
Sat, 15 Jan 2011 22:03:33 +0000 (14:03 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 15 Jan 2011 23:37:43 +0000 (15:37 -0800)
We don't need to complain that temporary editor backups are not added
to the list of tests to be run.

test/basic

index b4410f2a3fa5509f4c656c1f3179fafae98df0aa..e1269e28b2d9a8af4b067f9cba55b78bb5d49e5b 100755 (executable)
@@ -52,7 +52,7 @@ test_expect_code 2 'failure to clean up causes the test to fail' '
 # Ensure that all tests are being run
 test_begin_subtest 'Ensure that all available tests will be run by notmuch-test'
 tests_in_suite=$(grep TESTS= ../notmuch-test | sed -e "s/TESTS=\"\(.*\)\"/\1/" | tr " " "\n" | sort)
-available=$(ls -1 ../ | grep -v -E "^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test|README|test-lib.sh|test-results|tmp.*|valgrind|corpus*|emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose|test.expected-output)" | sort)
+available=$(ls -1 ../ | grep -v -E "^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test|README|test-lib.sh|test-results|tmp.*|valgrind|corpus*|emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose|test.expected-output|.*~)" | sort)
 test_expect_equal "$tests_in_suite" "$available"
 
 EXPECTED=../test.expected-output