]> diplodocus.org Git - nmh/blobdiff - test/whatnow/test-ls
Moved nmh and mh-chart man pages from section 1 to section 7.
[nmh] / test / whatnow / test-ls
index 9d072fa8ad7e99d28b2de4de9d66420a5a6abd56..6509fd0a6485cc8fdc29069ef489cf15c6388f01 100755 (executable)
@@ -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