Convert tests using "| wc -l | grep ..." to use the count script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/Generic/switch-lower-feature-2.ll b/test/CodeGen/Generic/switch-lower-feature-2.ll
index 6552cb1..5e532a8 100644
--- a/test/CodeGen/Generic/switch-lower-feature-2.ll
+++ b/test/CodeGen/Generic/switch-lower-feature-2.ll
@@ -1,13 +1,13 @@
; RUN: llvm-as < %s | llc -march=x86 -o %t -f
-; RUN: grep jb %t | wc -l | grep 1
-; RUN: grep \\\$6 %t | wc -l | grep 2
-; RUN: grep 1024 %t | wc -l | grep 1
-; RUN: grep 1023 %t | wc -l | grep 1
-; RUN: grep 119 %t | wc -l | grep 1
-; RUN: grep JTI %t | wc -l | grep 2
-; RUN: grep jg %t | wc -l | grep 1
-; RUN: grep ja %t | wc -l | grep 1
-; RUN: grep js %t | wc -l | grep 1
+; RUN: grep jb %t | count 1
+; RUN: grep \\\$6 %t | count 2
+; RUN: grep 1024 %t | count 1
+; RUN: grep 1023 %t | count 1
+; RUN: grep 119 %t | count 1
+; RUN: grep JTI %t | count 2
+; RUN: grep jg %t | count 1
+; RUN: grep ja %t | count 1
+; RUN: grep js %t | count 1
target triple = "i686-pc-linux-gnu"