summaryrefslogtreecommitdiffstats
path: root/Tests/StringFileTest/StringFile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-06-06 20:20:02 (GMT)
committerBrad King <brad.king@kitware.com>2007-06-06 20:20:02 (GMT)
commitdb0f26e85264b47dabaa1d400ad2fec1eb848eac (patch)
tree9a1077fe904c820fa6ec3a4bb7af33a18ce03714 /Tests/StringFileTest/StringFile.cxx
parentd016b69af3304965f4ce7fd1953e9901def528a4 (diff)
downloadCMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.zip
CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.gz
CMake-db0f26e85264b47dabaa1d400ad2fec1eb848eac.tar.bz2
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
Diffstat (limited to 'Tests/StringFileTest/StringFile.cxx')
-rw-r--r--Tests/StringFileTest/StringFile.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/StringFileTest/StringFile.cxx b/Tests/StringFileTest/StringFile.cxx
index 0601aa0..609ebaf 100644
--- a/Tests/StringFileTest/StringFile.cxx
+++ b/Tests/StringFileTest/StringFile.cxx
@@ -24,6 +24,8 @@ int main(int, char*[])
res += CheckMethod(tuvar, "CMAKE");
res += CheckMethod(tlvar, "cmake");
res += CheckMethod(relpath, "../../X11R6/bin/xnest");
+ res += CheckMethod(configvar,
+ "@$@$junk =~ s/#$xyz#/$foo_bar{$wibble}->{$xyz}/;@@");
return res;
}