From: Reid Spencer Date: Sun, 15 Apr 2007 04:57:03 +0000 (+0000) Subject: Allow replacement of %% with % X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=12ca929ca0714a7723c78884d7ca43c68e3056a6;p=oota-llvm.git Allow replacement of %% with % git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36044 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index ab7c994948a..160a7848e39 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -68,6 +68,8 @@ proc substitute { line test tmpFile } { regsub -all {%s} $new_line $test new_line #replace %t with temp filenames regsub -all {%t} $new_line [file join Output $tmpFile] new_line + #replace %% with % + regsub -all {%%} $new_line % new_line return $new_line }