[llvm] r193558 - Quote potential shell expansions found in tests
Alp Toker
alp at nuanti.com
Mon Oct 28 16:37:46 PDT 2013
Author: alp
Date: Mon Oct 28 18:37:45 2013
New Revision: 193558
URL: http://llvm.org/viewvc/llvm-project?rev=193558&view=rev
Log:
Quote potential shell expansions found in tests
Modified:
llvm/trunk/test/Other/extract-alias.ll
llvm/trunk/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
Modified: llvm/trunk/test/Other/extract-alias.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/extract-alias.ll?rev=193558&r1=193557&r2=193558&view=diff
==============================================================================
--- llvm/trunk/test/Other/extract-alias.ll (original)
+++ llvm/trunk/test/Other/extract-alias.ll Mon Oct 28 18:37:45 2013
@@ -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
Modified: llvm/trunk/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll?rev=193558&r1=193557&r2=193558&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll (original)
+++ llvm/trunk/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll Mon Oct 28 18:37:45 2013
@@ -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
More information about the llvm-commits
mailing list