Improve the grep commands for this test to be tolerant of ABI
[oota-llvm.git] / test / CodeGen / X86 / 2007-08-13-SpillerReuse.ll
index fe87046d719b7a8b857924db62541ba2297b8e9c..8cc235ba6caaeb7a94edbe883121a749c78a35ca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep "48(%esp)" | wc -l | grep 5
+; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin | grep "48(%esp)" | count 5
 
        %struct..0anon = type { i32 }
        %struct.rtvec_def = type { i32, [1 x %struct..0anon] }