summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:14 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-12-15 03:04:14 +0000
commitcb0721e3636f3e1155ff8dafba54772b6d5c06f4 (patch)
tree891b4ae2dd966965bb0b8670a569e2d7e2cb5022
parent2cb65bd5abf72a0675d9e5302ff7d14593b875d6 (diff)
downloadbcm5719-llvm-cb0721e3636f3e1155ff8dafba54772b6d5c06f4.tar.gz
bcm5719-llvm-cb0721e3636f3e1155ff8dafba54772b6d5c06f4.zip
Pipe 'grep' output to 'count'.
llvm-svn: 91403
-rw-r--r--llvm/test/LLVMC/Init.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/LLVMC/Init.td b/llvm/test/LLVMC/Init.td
index fbed6d413aa..d9a4fc1c1b1 100644
--- a/llvm/test/LLVMC/Init.td
+++ b/llvm/test/LLVMC/Init.td
@@ -1,7 +1,7 @@
// Check that (init true/false) and (init "str") work.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: grep cl::init("some-string") %t
-// RUN: grep cl::init(true) %t
+// RUN: grep cl::init(\\"some-string\\") %t | count 1
+// RUN: grep cl::init(true) %t | count 1
include "llvm/CompilerDriver/Common.td"
OpenPOWER on IntegriCloud