From b5fab402d02671f92ea7fc6166ba80e00d6a8388 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 15 Dec 2009 03:04:14 +0000 Subject: [PATCH] Pipe 'grep' output to 'count'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91403 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/LLVMC/Init.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/LLVMC/Init.td b/test/LLVMC/Init.td index fbed6d413aa..d9a4fc1c1b1 100644 --- a/test/LLVMC/Init.td +++ b/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"