X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7f7335d8a403574f3be2ccd610f1a5d9dc2fa3b2..f81046da683a14b2265a501f0de00df264a77413:/test/mhfixmsg/test-mhfixmsg?ds=sidebyside diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index 3f5e847e..c2070c51 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -179,6 +179,7 @@ run_test 'mhfixmsg last -outfile '"$actual"' -verbose' \ QUOTED-PRINTABLE with 8 bit" check "$expected" "$actual" 'keep first' +sbackup="`mhparam sbackup`" # check with no options: checks backup start_test "with no options: checks backup" @@ -187,7 +188,7 @@ folder last >/dev/null run_test 'mhfixmsg' '' check "$expected" "$MH_TEST_DIR"/Mail/inbox/11 'keep first' cp "$MH_TEST_DIR"/Mail/inbox/11.original "$MH_TEST_DIR"/Mail/inbox/11 -check "$MH_TEST_DIR"/Mail/inbox/,11 "$MH_TEST_DIR"/Mail/inbox/11.original +check "$MH_TEST_DIR/Mail/inbox/${sbackup}11" "$MH_TEST_DIR"/Mail/inbox/11.original # check backup with -file @@ -196,7 +197,7 @@ cp "$MH_TEST_DIR"/Mail/inbox/11 "$MH_TEST_DIR"/Mail/inbox/11.original folder last >/dev/null run_test 'mhfixmsg -file '"$MH_TEST_DIR"/Mail/inbox/11 '' check "$MH_TEST_DIR"/Mail/inbox/11 "$expected" 'keep first' -check "$MH_TEST_DIR"/Mail/inbox/,11 "$MH_TEST_DIR"/Mail/inbox/11.original +check "$MH_TEST_DIR/Mail/inbox/${sbackup}11" "$MH_TEST_DIR"/Mail/inbox/11.original # check -file with directory @@ -1375,7 +1376,7 @@ EOF run_test 'mhfixmsg 21 -normmproc' check "${MH_TEST_DIR}/Mail/inbox/22" \ - "${MH_TEST_DIR}/Mail/inbox/,21" 'keep first' + "${MH_TEST_DIR}/Mail/inbox/${sbackup}21" 'keep first' fi @@ -1683,7 +1684,7 @@ check "$expected" "$actual" start_test "input is passed through to output when there's a parse error" cat >"$expected.err" <"$actual" cat >"$expected" <