]> git.marmaro.de Git - mmh/blobdiff - test/tests/whatnow/test-ls
Fix out-of-bounds error when incorporating email from stdin
[mmh] / test / tests / whatnow / test-ls
index e0dc9696264defe1fee191bb9b046a7bf532d52e..15d0824afc485e9fdf07c8fd8d318063c5412db4 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