projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added test-dp, test-fmtdump, test-prompter, test-rcvstore,
[mmh]
/
test
/
whatnow
/
test-ls
diff --git
a/test/whatnow/test-ls
b/test/whatnow/test-ls
index
9d072fa
..
6509fd0
100755
(executable)
--- a/
test/whatnow/test-ls
+++ b/
test/whatnow/test-ls
@@
-33,7
+33,7
@@
actual=$MH_TEST_DIR/$$.actual
#
set +e
#
set +e
-whatnowtest="$(echo cd | TERM=dumb whatnow -prompt '')"
+whatnowtest=`echo cd | TERM=dumb whatnow -prompt ''`
set -e
case "${whatnowtest}" in
set -e
case "${whatnowtest}" in
@@
-42,16
+42,16
@@
baz
boz
ls
EOF
boz
ls
EOF
- break;;
+ ;;
"") cat > "$expected" <<EOF
baz
boz
EOF
"") cat > "$expected" <<EOF
baz
boz
EOF
- break;;
+ ;;
*) echo "Unknown response to whatnow readline test"
echo "Response is: ${whatnowtest}"
exit 1
*) echo "Unknown response to whatnow readline test"
echo "Response is: ${whatnowtest}"
exit 1
- break;;
+ ;;
esac
cat > $expectederr <<EOF
esac
cat > $expectederr <<EOF