Lines Matching full:txt
5 RUN: echo hello-a > a/foo.txt
6 RUN: echo hello-b > b/foo.txt
7 RUN: echo hello-parent > foo.txt
10 RUN: rm -f noop.a && llvm-ar rcP noop.a foo.txt
18 # Looking up a/foo.txt in a regular archive will fail with P because it is
19 # added to the archive as foo.txt.
21 RUN: llvm-ar rcS display.a a/foo.txt foo.txt b/foo.txt
22 RUN: llvm-ar t display.a a/foo.txt | FileCheck %s --check-prefix=DISPLAY-FOUND --match-full-lines
23 RUN: not llvm-ar tP display.a a/foo.txt 2>&1 | FileCheck %s --check-prefix=DISPLAY-NOT-FOUND
25 DISPLAY-FOUND: foo.txt
26 DISPLAY-NOT-FOUND: 'a/foo.txt' was not found
28 # Deleting will fail with P because the members exist as foo.txt, not a/foo.txt.
30 RUN: llvm-ar rcS del1.a foo.txt
31 RUN: llvm-ar dP del1.a a/foo.txt
32 RUN: llvm-ar t del1.a a/foo.txt | FileCheck %s --check-prefix=DISPLAY-FOUND --match-full-lines
33 RUN: llvm-ar d del1.a a/foo.txt
34 RUN: not llvm-ar t del1.a a/foo.txt 2>&1 | FileCheck %s --check-prefix=DISPLAY-NOT-FOUND
41 RUN: llvm-ar rcST add.a a/foo.txt foo.txt b/foo.txt
44 ADD: a/foo.txt
45 ADD-NEXT: foo.txt
46 ADD-NEXT: b/foo.txt
50 RUN: llvm-ar rcST add-inc.a a/foo.txt
51 RUN: llvm-ar rcST add-inc.a foo.txt
52 RUN: llvm-ar rcST add-inc.a b/foo.txt
55 ADD-INC: a/foo.txt
56 ADD-INC-NEXT: foo.txt
57 ADD-INC-NEXT: b/foo.txt
61 RUN: llvm-ar rcST a/nested.a a/foo.txt
62 RUN: llvm-ar rcST b/nested.a b/foo.txt
63 RUN: llvm-ar rcST nested.a a/nested.a foo.txt b/nested.a
66 NESTED: a/foo.txt
67 NESTED-NEXT: foo.txt
68 NESTED-NEXT: b/foo.txt
72 RUN: llvm-ar rcST add.a a/foo.txt foo.txt b/foo.txt
73 RUN: llvm-ar p add.a foo.txt | FileCheck %s --check-prefix=PRINT-PARENT --match-full-lines
74 RUN: llvm-ar p add.a a/foo.txt | FileCheck %s --check-prefix=PRINT-A --match-full-lines
75 RUN: llvm-ar p add.a b/foo.txt | FileCheck %s --check-prefix=PRINT-B --match-full-lines
82 RUN: llvm-ar rcST add.a a/foo.txt foo.txt b/foo.txt
83 RUN: llvm-ar t add.a foo.txt | FileCheck %s --check-prefix=LIST-PARENT --match-full-lines
84 RUN: llvm-ar t add.a a/foo.txt | FileCheck %s --check-prefix=LIST-A --match-full-lines
85 RUN: llvm-ar t add.a b/foo.txt | FileCheck %s --check-prefix=LIST-B --match-full-lines
86 LIST-PARENT: foo.txt
87 LIST-PARENT-NOT: a/foo.txt
88 LIST-PARENT-NOT: b/foo.txt
89 LIST-A: a/foo.txt
90 LIST-B: b/foo.txt
94 RUN: llvm-ar rcST del1.a a/foo.txt foo.txt b/foo.txt
95 RUN: llvm-ar d del1.a foo.txt
98 DEL-1-NOT: foo.txt
99 DEL-1: a/foo.txt
100 DEL-1-NEXT: b/foo.txt
103 RUN: llvm-ar rcST del2.a a/foo.txt foo.txt b/foo.txt
104 RUN: llvm-ar d del2.a a/foo.txt
106 DEL-2-NOT: a/foo.txt
107 DEL-2: foo.txt
108 DEL-2-NEXT: b/foo.txt