projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved the set +e up to capture one more test in test-pick. That
[mmh]
/
test
/
whatnow
/
test-attach-detach
diff --git
a/test/whatnow/test-attach-detach
b/test/whatnow/test-attach-detach
index
fe5785c
..
7d538a2
100755
(executable)
--- a/
test/whatnow/test-attach-detach
+++ b/
test/whatnow/test-attach-detach
@@
-38,7
+38,7
@@
touch $expected $expectederr $actual $actualerr
#
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
@@
-49,15
+49,15
@@
$testname
detach $testname_quoted
alist
EOF
detach $testname_quoted
alist
EOF
- break;;
+ ;;
"") cat > "$expected" <<EOF
$testname
EOF
"") cat > "$expected" <<EOF
$testname
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
# whatnow's exit status is always 1 so that is not a failure
esac
# whatnow's exit status is always 1 so that is not a failure