]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/dstack.right
Imported from ../bash-2.05b.tar.gz.
[thirdparty/bash.git] / tests / dstack.right
index fcd04b8755aed43cd36cbd3bda4a094008c1b3bd..73a006ceb0e44daaf92e5321a322d748f596785e 100644 (file)
@@ -1,13 +1,13 @@
-./dstack.tests: pushd: /tmp/xxx-notthere: No such file or directory
-./dstack.tests: pushd: no other directory
-./dstack.tests: popd: directory stack empty
-./dstack.tests: pushd: -m: bad argument
+./dstack.tests: line 6: pushd: /tmp/xxx-notthere: No such file or directory
+./dstack.tests: line 9: pushd: no other directory
+./dstack.tests: line 10: popd: directory stack empty
+./dstack.tests: line 13: pushd: -m: invalid number
 pushd: usage: pushd [dir | +N | -N] [-n]
-./dstack.tests: popd: -m: bad argument
+./dstack.tests: line 14: popd: -m: invalid number
 popd: usage: popd [+N | -N] [-n]
-./dstack.tests: dirs: -m: bad argument
+./dstack.tests: line 15: dirs: -m: invalid number
 dirs: usage: dirs [-clpv] [+N] [-N]
-./dstack.tests: dirs: unknown option: 7
+./dstack.tests: line 16: dirs: 7: invalid option
 dirs: usage: dirs [-clpv] [+N] [-N]
 /
 ok
@@ -31,12 +31,12 @@ ok
 /tmp
 /usr
 /usr
-./dstack.tests: dirs: 9: bad directory stack index
-./dstack.tests: dirs: 9: bad directory stack index
-./dstack.tests: pushd: +9: bad directory stack index
-./dstack.tests: pushd: -9: bad directory stack index
-./dstack.tests: popd: +9: bad directory stack index
-./dstack.tests: popd: -9: bad directory stack index
+./dstack.tests: line 58: dirs: 9: directory stack index out of range
+./dstack.tests: line 58: dirs: 9: directory stack index out of range
+./dstack.tests: line 59: pushd: +9: directory stack index out of range
+./dstack.tests: line 59: pushd: -9: directory stack index out of range
+./dstack.tests: line 60: popd: +9: directory stack index out of range
+./dstack.tests: line 60: popd: -9: directory stack index out of range
 /tmp /etc /
 /tmp /etc /
 /tmp /etc /