]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/history.right
Imported from ../bash-2.02.tar.gz.
[thirdparty/bash.git] / tests / history.right
index 331cc034c08948127a971c75f7b20d28e2f87d76..7110223f212e9e80e51c41b4cf5341b278394b31 100644 (file)
@@ -1,3 +1,8 @@
+./history.tests: history: illegal option: -x
+history: usage: history [-c] [n] or history -awrn [filename] or history -ps arg [arg...]
+./history.tests: history: cannot use more than one of -anrw
+./history.tests: fc: illegal option: -v
+fc: usage: fc [-e ename] [-nlr] [first] [last] or fc -s [pat=rep] [cmd]
     1  for i in one two three; do echo $i; done
     2  /bin/sh -c 'echo this is $0'
     3  ls
@@ -92,6 +97,7 @@ line 2 for history
 6       HISTFILE=/tmp/newhistory
 7       echo displaying \$HISTFILE after history -a
 8       cat $HISTFILE
+./history.tests: fc: history specification out of range
 ./history.tests: fc: history specification out of range
    14  set -H
    15  echo line 2 for history
@@ -100,5 +106,7 @@ line 2 for history
 aa ab ac
 echo xx xb xc
 xx xb xc
+echo 44 48 4c
+44 48 4c
 ./history.tests: fc: no command found
 1