comparison utils/lit/tests/shtest-shell.py @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 803732b1fca8
children 3a76565eade5
comparison
equal deleted inserted replaced
119:d9df2cbd60cd 122:36195a0db682
1 # Check the internal shell handling component of the ShTest format. 1 # Check the internal shell handling component of the ShTest format.
2 # 2 #
3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out 3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out
4 # RUN: FileCheck < %t.out %s 4 # FIXME: Temporarily dump test output so we can debug failing tests on
5 # buildbots.
6 # RUN: cat %t.out
7 # RUN: FileCheck --input-file %t.out %s
5 # 8 #
6 # END. 9 # END.
7 10
8 # CHECK: -- Testing: 11 # CHECK: -- Testing:
9 12
10 # CHECK: FAIL: shtest-shell :: error-0.txt 13 # CHECK: FAIL: shtest-shell :: error-0.txt
11 # CHECK: *** TEST 'shtest-shell :: error-0.txt' FAILED *** 14 # CHECK: *** TEST 'shtest-shell :: error-0.txt' FAILED ***
12 # CHECK: Command 0: "not-a-real-command" 15 # CHECK: $ "not-a-real-command"
13 # CHECK: Command 0 Result: 127 16 # CHECK: # command stderr:
14 # CHECK: Command 0 Stderr:
15 # CHECK: 'not-a-real-command': command not found 17 # CHECK: 'not-a-real-command': command not found
18 # CHECK: error: command failed with exit status: 127
16 # CHECK: *** 19 # CHECK: ***
17 20
18 # FIXME: The output here sucks. 21 # FIXME: The output here sucks.
19 # 22 #
20 # CHECK: FAIL: shtest-shell :: error-1.txt 23 # CHECK: FAIL: shtest-shell :: error-1.txt