Imported from ../bash-2.01.tar.gz.
[platform/upstream/bash.git] / tests / dirstack.right
1 ./dirstack.tests: pushd: no other directory
2 ./dirstack.tests: popd: directory stack empty
3 ./dirstack.tests: pushd: -m: bad argument
4 pushd: usage: pushd [dir | +N | -N] [-n]
5 ./dirstack.tests: popd: -m: bad argument
6 popd: usage: popd [+N | -N] [-n]
7 ./dirstack.tests: dirs: -m: bad argument
8 dirs: usage: dirs [-clpv] [+N] [-N]
9 ok
10 /usr /
11 /usr /
12 /usr /
13 /usr /
14 /usr /
15 /
16 /usr /
17 /etc /usr /
18 /etc /usr /
19 /etc /usr /
20  0  /etc
21  1  /usr
22  2  /
23 /usr /etc /
24 /etc /usr /
25 /tmp /etc /usr /
26 /tmp
27 /tmp
28 /usr
29 /usr
30 ./dirstack.tests: dirs: 9: bad directory stack index
31 ./dirstack.tests: dirs: 9: bad directory stack index
32 ./dirstack.tests: pushd: +9: bad directory stack index
33 ./dirstack.tests: pushd: -9: bad directory stack index
34 ./dirstack.tests: popd: +9: bad directory stack index
35 ./dirstack.tests: popd: -9: bad directory stack index
36 /tmp /etc /
37 /tmp /etc /
38 /tmp /etc /
39 /tmp /usr /etc /
40 /tmp
41 /tmp /usr /etc /
42 /tmp /usr /etc /
43 /tmp
44 /tmp /bin /etc /
45 /tmp
46 /tmp /bin /
47 /tmp
48 /bin / /tmp
49 /bin / /tmp
50 /bin
51 /bin