Skip to content

Commit 098767c

Browse files
authored
Revert changes to llvm-string stdin test and XFAIL on AIX (#160821)
Xfail testcase on AIX until echo -n bug is fixed, revert changes made to testcase
1 parent d2f14bc commit 098767c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1+
# XFAIL: system-aix
2+
13
## Show that llvm-strings can handle stdin input properly.
24

35
## 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={{.}}
67
CASE1: abcdefg
78

89
## 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
1111

1212
## Case 3: output with new line.
1313
RUN: printf "abcd\nefgh" | llvm-strings - | FileCheck %s --check-prefix=CASE3 --implicit-check-not={{.}}
@@ -21,5 +21,4 @@ CASE4-NEXT: ghij
2121
CASE4-NEXT: klmn
2222

2323
## 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={{.}}

0 commit comments

Comments
 (0)