tests: Adjusted most of the tests to mmh.
[mmh] / test / tests / whatnow / test-cd
index 3e0ddc4..44fecb6 100644 (file)
@@ -26,9 +26,12 @@ EOF
 cat > $expectederr <<EOF
 EOF
 
+# create a draft message
+comp -whatnow true
+
 # ||true to ignore whatnow's exit status
 # watch the quoting -- shell and printf and then the shell run inside whatnow
-printf "cd $MH_TEST_DIR/foo\\\\'s\\\\ bar\npwd\n" | whatnow -noedit -prompt '' 2> "$actualerr" > "$actual" || true
+printf "cd $MH_TEST_DIR/foo\\\\'s\\\\ bar\npwd\n" | whatnow -prompt '' 2> "$actualerr" > "$actual" || true
 
 diff -u $expectederr $actualerr
 diff -u $expected $actual