Lines Matching full:txt

7 RUN: echo hello > %t/x/foo.txt
8 RUN: echo cool > %t/y/foo.txt
9 RUN: echo world > %t/z/foo.txt
10 RUN: echo fizz > %t/x/bar.txt
11 RUN: echo buzz > %t/y/bar.txt
12 RUN: echo fizbuz > %t/z/bar.txt
13 RUN: llvm-ar rc %t/archive.a %t/x/foo.txt %t/y/foo.txt %t/z/foo.txt \
14 RUN: %t/x/bar.txt %t/y/bar.txt %t/z/bar.txt
18 LIST-MEMBERS: foo.txt
19 LIST-MEMBERS-NEXT: foo.txt
20 LIST-MEMBERS-NEXT: foo.txt
21 LIST-MEMBERS-NEXT: bar.txt
22 LIST-MEMBERS-NEXT: bar.txt
23 LIST-MEMBERS-NEXT: bar.txt
26 RUN: not llvm-ar xN abc %t/archive.a foo.txt 2>&1 | FileCheck %s --check-prefix=ERR-NOT-NUM
27 RUN: not llvm-ar xN 0x1 %t/archive.a foo.txt 2>&1 | FileCheck %s --check-prefix=ERR-NOT-NUM
29 RUN: not llvm-ar xN 0 %t/archive.a foo.txt 2>&1 | FileCheck %s --check-prefix=ERR-NOT-POS
30 RUN: not llvm-ar xN 4 %t/archive.a foo.txt 2>&1 | FileCheck %s --check-prefix=ERR-NOT-FOUND
32 RUN: not llvm-ar rN 1 %t/archive.a foo.txt 2>&1 | FileCheck %s --check-prefix=ERR-BAD-OP
37 ERR-NOT-FOUND: error: 'foo.txt' was not found
41 RUN: rm -f foo.txt bar.txt
42 RUN: llvm-ar xN 1 %t/archive.a foo.txt bar.txt
43 RUN: cat %t/foo.txt | FileCheck %s --check-prefix=FOO-1
44 RUN: cat %t/bar.txt | FileCheck %s --check-prefix=BAR-1
46 RUN: rm -f foo.txt bar.txt
47 RUN: llvm-ar xN 2 %t/archive.a foo.txt bar.txt
48 RUN: cat %t/foo.txt | FileCheck %s --check-prefix=FOO-2
49 RUN: cat %t/bar.txt | FileCheck %s --check-prefix=BAR-2
51 RUN: rm -f foo.txt bar.txt
52 RUN: llvm-ar xN 3 %t/archive.a foo.txt bar.txt
53 RUN: cat %t/foo.txt | FileCheck %s --check-prefix=FOO-3
54 RUN: cat %t/bar.txt | FileCheck %s --check-prefix=BAR-3
60 RUN: rm -f foo.txt bar.txt
61 RUN: llvm-ar dN 2 %t/archive.a foo.txt
62 RUN: llvm-ar xN 2 %t/archive.a foo.txt bar.txt
63 RUN: cat %t/foo.txt | FileCheck %s --check-prefix=FOO-3
64 RUN: cat %t/bar.txt | FileCheck %s --check-prefix=BAR-2
69 RUN: rm -f foo.txt bar.txt
70 RUN: llvm-ar dN 1 %t/archive.a foo.txt bar.txt
71 RUN: llvm-ar xN 1 %t/archive.a foo.txt bar.txt
72 RUN: cat %t/foo.txt | FileCheck %s --check-prefix=FOO-3
73 RUN: cat %t/bar.txt | FileCheck %s --check-prefix=BAR-2