summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 04:57:03 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 04:57:03 +0000
commit12ca929ca0714a7723c78884d7ca43c68e3056a6 (patch)
treeccdb98b93a54d3cac9b98a3ceace05f02cdb50a8 /test/lib
parent6f6b2500586f9b5f13f4805aef247d54b779ac34 (diff)
downloadllvm-12ca929ca0714a7723c78884d7ca43c68e3056a6.tar.gz
llvm-12ca929ca0714a7723c78884d7ca43c68e3056a6.tar.bz2
llvm-12ca929ca0714a7723c78884d7ca43c68e3056a6.tar.xz
Allow replacement of %% with %
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index ab7c994948..160a7848e3 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
}