]> granicus.if.org Git - clang/commitdiff
Quote wildcard in test's grep argument
authorAlp Toker <alp@nuanti.com>
Sat, 26 Oct 2013 14:52:48 +0000 (14:52 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 26 Oct 2013 14:52:48 +0000 (14:52 +0000)
The * could otherwise cause shell pathname expansion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193473 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2007-04-14-FNoBuiltin.c

index a5fda6306f2845f01d44fcffc2baa7d64c72a076..5c95c0810e47d3cbc9f0fa4a9e1f11481297f38d 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | grep call.*printf
+// RUN: %clang_cc1 -emit-llvm %s -O2 -fno-builtin -o - | grep 'call.*printf'
 // Check that -fno-builtin is honored.
 
 extern int printf(const char*, ...);