projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix autoconf check for mailspool world write permission
[mmh]
/
test
/
tests
/
whatnow
/
test-cd
diff --git
a/test/tests/whatnow/test-cd
b/test/tests/whatnow/test-cd
index
3e0ddc4
..
44fecb6
100644
(file)
--- a/
test/tests/whatnow/test-cd
+++ b/
test/tests/whatnow/test-cd
@@
-26,9
+26,12
@@
EOF
cat > $expectederr <<EOF
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
# ||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
diff -u $expectederr $actualerr
diff -u $expected $actual