File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1- // REQUIRES: shell
2- // RUN: ( echo "test"; llvm-mc -filetype=obj -triple i686-pc-win32 %s ) > %t
3-
1+ // RUN: bash -c '(echo "test"; llvm-mc -filetype=obj -triple i686-pc-win32 %s ) > %t'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # Check that we fail if earlier operations in a pipe fail.
2+ #
3+ # RUN: false | echo test
4+ #
Original file line number Diff line number Diff line change 11# Check the internal shell handling component of the ShTest format.
22
33# RUN: not %{lit} -v %{inputs}/shtest-shell > %t.out
4+ # RUN: cat %t.out > /tmp/test
45# RUN: FileCheck --input-file %t.out %s
56#
67# Test again in non-UTF shell to catch potential errors with python 2 seen
580581# CHECK: # error: command failed with exit status: 127
581582# CHECK: ***
582583
584+ # CHECK: FAIL: shtest-shell :: pipefail.txt
585+ # CHECK: *** TEST 'shtest-shell :: pipefail.txt' FAILED ***
586+ # CHECK: error: command failed with exit status: 1
587+ # CHECK: ***
588+
583589# CHECK: PASS: shtest-shell :: redirects.txt
584590
585591# CHECK: FAIL: shtest-shell :: rm-error-0.txt
629635
630636# CHECK: PASS: shtest-shell :: valid-shell.txt
631637# CHECK: Unresolved Tests (1)
632- # CHECK: Failed Tests (36 )
638+ # CHECK: Failed Tests (37 )
You can’t perform that action at this time.
0 commit comments