Imported from ../bash-2.05b.tar.gz.
[platform/upstream/bash.git] / tests / history.right
index deb6b86..619d34c 100644 (file)
@@ -1,7 +1,7 @@
-./history.tests: history: illegal option: -x
+./history.tests: line 4: history: -x: invalid option
 history: usage: history [-c] [-d offset] [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
+./history.tests: line 6: history: cannot use more than one of -anrw
+./history.tests: line 9: fc: -v: invalid option
 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'
@@ -97,8 +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
+./history.tests: line 73: fc: history specification out of range
    14  set -H
    15  echo line 2 for history
    16  unset HISTSIZE
@@ -108,5 +107,5 @@ echo xx xb xc
 xx xb xc
 echo 44 48 4c
 44 48 4c
-./history.tests: fc: no command found
+./history.tests: line 88: fc: no command found
 1