tests: Adjusted most of the tests to mmh.
[mmh] / test / tests / whatnow / test-ls
index e0dc969..15d0824 100644 (file)
@@ -26,8 +26,11 @@ EOF
 cat > $expectederr <<EOF
 EOF
 
+# create a draft message
+comp -whatnow true
+
 # NB use of sort as the order of output of ls is not guaranteed
-echo 'ls' | whatnow -noedit -prompt '' 2> "$actualerr" | sort > "$actual"
+echo 'ls' | whatnow -prompt '' 2> "$actualerr" | sort > "$actual"
 
 diff -u $expectederr $actualerr
 diff -u $expected $actual