summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-10-28 23:37:45 +0000
committerAlp Toker <alp@nuanti.com>2013-10-28 23:37:45 +0000
commite794e41c35a87e4c3077c19b1304a6f377d6c74d (patch)
treec808cc19f59a753d4e7f12773c015f73ffedaf60
parentd2d54e2b7c8a427cf1f4684bee335c4bedc5a99b (diff)
downloadllvm-e794e41c35a87e4c3077c19b1304a6f377d6c74d.tar.gz
llvm-e794e41c35a87e4c3077c19b1304a6f377d6c74d.tar.bz2
llvm-e794e41c35a87e4c3077c19b1304a6f377d6c74d.tar.xz
Quote potential shell expansions found in tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193558 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Other/extract-alias.ll2
-rw-r--r--test/Transforms/GlobalOpt/2008-07-17-addrspace.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/Other/extract-alias.ll b/test/Other/extract-alias.ll
index d5bab4b3f3..d1e4af5456 100644
--- a/test/Other/extract-alias.ll
+++ b/test/Other/extract-alias.ll
@@ -1,7 +1,7 @@
; RUN: llvm-extract -func foo -S < %s | FileCheck %s
; RUN: llvm-extract -delete -func foo -S < %s | FileCheck --check-prefix=DELETE %s
; RUN: llvm-extract -alias zeda0 -S < %s | FileCheck --check-prefix=ALIAS %s
-; RUN: llvm-extract -ralias .*bar -S < %s | FileCheck --check-prefix=ALIASRE %s
+; RUN: llvm-extract -ralias '.*bar' -S < %s | FileCheck --check-prefix=ALIASRE %s
; Both aliases should be converted to declarations
; CHECK: @zeda0 = external global i32
diff --git a/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll b/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
index 390e77a8ce..0867ca9c54 100644
--- a/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
+++ b/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
@@ -4,7 +4,7 @@
; RUN: opt < %s -globalopt -S > %t
; Check that the new global values still have their address space
-; RUN: cat %t | grep addrspace.*global
+; RUN: cat %t | grep 'addrspace.*global'
@struct = internal addrspace(1) global { i32, i32 } zeroinitializer
@array = internal addrspace(1) global [ 2 x i32 ] zeroinitializer