]> git.notmuchmail.org Git - notmuch/commitdiff
test: Fix notmuch-test to pass command-line arguments to sub-scripts.
authorCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 20:45:29 +0000 (13:45 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 20:45:29 +0000 (13:45 -0700)
The is useful for things like "notmuch-test --valgrind", etc.

test/notmuch-test

index 9b00d335093d4f042d6ba51871991b9bf0a3bdaf..294c3fd7b7df667e857097f4f19b53214d62691f 100755 (executable)
@@ -15,7 +15,7 @@ rm -r test-results >/dev/null 2>/dev/null
 
 # Run the tests
 for test in $TESTS; do
 
 # Run the tests
 for test in $TESTS; do
-       ./$test
+       ./$test "$@"
 done
 
 # Report results
 done
 
 # Report results