File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
llvm/test/tools/llvm-strings Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change
1
+ # XFAIL: system-aix
2
+
1
3
## Show that llvm-strings can handle stdin input properly.
2
4
3
5
## Case 1: output with single string.
4
- RUN: echo -n "abcdefg" > %t
5
- RUN: llvm-strings %t - | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{.}}
6
+ RUN: echo -n "abcdefg" | llvm-strings - | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{.}}
6
7
CASE1: abcdefg
7
8
8
9
## Case 2: output too short for string.
9
- RUN: echo -n "abc" > %t
10
- RUN: llvm-strings %t - | FileCheck %s --implicit-check-not={{.}} --allow-empty
10
+ RUN: echo -n "abc" | llvm-strings - | FileCheck %s --implicit-check-not={{.}} --allow-empty
11
11
12
12
## Case 3: output with new line.
13
13
RUN: printf "abcd\nefgh" | llvm-strings - | FileCheck %s --check-prefix=CASE3 --implicit-check-not={{.}}
@@ -21,5 +21,4 @@ CASE4-NEXT: ghij
21
21
CASE4-NEXT: klmn
22
22
23
23
## Case 5: no file name specified is equivalent to explicitly requesting stdin.
24
- RUN: echo -n "abcdefg" > %t
25
- RUN: llvm-strings %t - | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{.}}
24
+ RUN: echo -n "abcdefg" | llvm-strings | FileCheck %s --check-prefix=CASE1 --implicit-check-not={{.}}
You can’t perform that action at this time.
0 commit comments