Quote potential shell expansions found in tests
authorAlp Toker <alp@nuanti.com>
Mon, 28 Oct 2013 23:37:45 +0000 (23:37 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 28 Oct 2013 23:37:45 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193558 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/extract-alias.ll
test/Transforms/GlobalOpt/2008-07-17-addrspace.ll

index d5bab4b3f36b3749b3282461358ac6c2eb9e24f1..d1e4af545625976516da93ee433d707adfe75a6a 100644 (file)
@@ -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
index 390e77a8cea8edfb7029712876d661e248a72135..0867ca9c5431b73a56b2b8450de2f1c10a55e7c9 100644 (file)
@@ -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