[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git] / utils / lit / tests / Inputs / shtest-shell / sequencing-0.txt
blob6578db25afe13aa82c3e30063ae5e74fa1ca9b64
1 # Check sequencing operations.
3 # RUN: echo "first-line" > %t.out && echo "second-line" >> %t.out
4 # RUN: FileCheck --check-prefix CHECK-AND < %t.out %s
6 # CHECK-AND: first-line
7 # CHECK-AND: second-line
9 # The false case of && is tested in sequencing-2.txt
12 # RUN: echo "first-line" > %t.out || echo "second-line" >> %t.out
13 # RUN: FileCheck --check-prefix CHECK-OR-1 < %t.out %s
15 # CHECK-OR-1: first-line
16 # CHECK-OR-1-NOT: second-line
18 # RUN: false || echo "second-line" > %t.out
19 # RUN: FileCheck --check-prefix CHECK-OR-2 < %t.out %s
21 # CHECK-OR-2: second-line
24 # RUN: echo "first-line" > %t.out; echo "second-line" >> %t.out
25 # RUN: FileCheck --check-prefix CHECK-SEQ < %t.out %s
27 # CHECK-SEQ: first-line
28 # CHECK-SEQ: second-line