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+ 
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={{.}}
67CASE1: 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.
1313RUN: printf "abcd\nefgh" | llvm-strings - | FileCheck %s --check-prefix=CASE3 --implicit-check-not={{.}}
@@ -21,5 +21,4 @@ CASE4-NEXT: ghij
2121CASE4-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={{.}}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments