sequencing-0.txt revision ac1b2e5550d395f8a150830d9513ee62d678597b
1# Check sequencing operations.
2#
3# RUN: echo "first-line" > %t.out && echo "second-line" >> %t.out
4# RUN: FileCheck --check-prefix CHECK-AND < %t.out %s
5#
6# CHECK-AND: first-line
7# CHECK-AND: second-line
8#
9# The false case of && is tested in sequencing-2.txt
10
11
12# RUN: echo "first-line" > %t.out || echo "second-line" >> %t.out
13# RUN: FileCheck --check-prefix CHECK-OR-1 < %t.out %s
14#
15# CHECK-OR-1: first-line
16# CHECK-OR-1-NOT: second-line
17
18# RUN: false || echo "second-line" > %t.out
19# RUN: FileCheck --check-prefix CHECK-OR-2 < %t.out %s
20#
21# CHECK-OR-2: second-line
22
23
24# RUN: echo "first-line" > %t.out; echo "second-line" >> %t.out
25# RUN: FileCheck --check-prefix CHECK-SEQ < %t.out %s
26#
27# CHECK-SEQ: first-line
28# CHECK-SEQ: second-line
29