]> diplodocus.org Git - nmh/blobdiff - test/refile/test-refile
Get coverage of quite a few of the `ambiguous switch' case.
[nmh] / test / refile / test-refile
index 71b2baabf46bac24e2e1bab31166890a4df57fcf..4addd69489e5888f27fca819d78a56e81239494b 100755 (executable)
@@ -16,6 +16,8 @@ fi
 
 setup_test
 
+! refile - >/dev/null 2>&1 # gcov
+
 expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
@@ -116,7 +118,7 @@ other+ has  1 message   (1- 1).
 TOTAL = 11 messages in 2 folders.'
 
 check_for_hard_links
-if [ $hard_links_supported -eq 1 ]; then
+if [ $xdir_links_supported -eq 1 ]; then
   # check -link
   run_test 'refile 7 -src +inbox +other -link' ''
   run_test 'folders -noheader' \