projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mhl and mhbuild ignore to long lines
[mmh]
/
test
/
tests
/
whatnow
/
test-cd
diff --git
a/test/tests/whatnow/test-cd
b/test/tests/whatnow/test-cd
index
3e0ddc4
..
05bbd76
100644
(file)
--- a/
test/tests/whatnow/test-cd
+++ b/
test/tests/whatnow/test-cd
@@
-24,11
+24,15
@@
$SPDIR
EOF
cat > $expectederr <<EOF
EOF
cat > $expectederr <<EOF
+whatnow: whatnow is deprecated. Consider switching to whatnow2.
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