1 # Check the pushd and popd commands
3 # RUN: not %{lit} -a -v %{inputs}/shtest-pushd-popd \
4 # RUN: | FileCheck -match-full-lines %s
8 # CHECK: -- Testing: 4 tests{{.*}}
10 # CHECK: FAIL: shtest-pushd-popd :: popd-args.txt ({{[^)]*}})
12 # CHECK: # | 'popd' does not support arguments
14 # CHECK: FAIL: shtest-pushd-popd :: popd-no-stack.txt ({{[^)]*}})
16 # CHECK: # | popd: directory stack empty
18 # CHECK: FAIL: shtest-pushd-popd :: pushd-too-many-args.txt ({{[^)]*}})
20 # CHECK: # | 'pushd' supports only one argument
22 # CHECK: Total Discovered Tests: 4
23 # CHECK: Passed: 1 {{\([0-9]*\.[0-9]*%\)}}
24 # CHECK: Failed: 3 {{\([0-9]*\.[0-9]*%\)}}