]> diplodocus.org Git - nmh/commitdiff
test-nocreate: Don't use run_test and run_prog together.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 30 Oct 2016 21:45:22 +0000 (21:45 +0000)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 30 Oct 2016 21:45:22 +0000 (21:45 +0000)
valgrind tries to run run_prog and can't find the command.

test/folder/test-nocreate

index 49b2209..d534ea3 100755 (executable)
@@ -15,7 +15,7 @@ fi
 setup_test
 
 set +e
-run_test 'run_prog folder -nocreate +testfolder 2>&1' \
+run_test 'folder -nocreate +testfolder 2>&1' \
          'folder: folder testfolder does not exist'
 set -e
 if [ -d "$MH_TEST_DIR/Mail/testfolder" ]; then