summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-29 18:02:54 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-29 18:02:54 (GMT)
commit1f7ef5bf7aa5f6be09743b7e037c16eae55933ed (patch)
treec5c8c9a5546525aa6f35c8058f9c321b9e54c28f /Tests
parentd91c5b1a07da38329a8572369c64d92571a3495b (diff)
downloadCMake-1f7ef5bf7aa5f6be09743b7e037c16eae55933ed.zip
CMake-1f7ef5bf7aa5f6be09743b7e037c16eae55933ed.tar.gz
CMake-1f7ef5bf7aa5f6be09743b7e037c16eae55933ed.tar.bz2
BUG: Fix CMake.File test for deep dir name
This fixes the regex checking expected output of Copy-NoFile to account for line wrapping when the input directory name is long.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeTests/FileTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/FileTest.cmake.in b/Tests/CMakeTests/FileTest.cmake.in
index c46138c..c89348b 100644
--- a/Tests/CMakeTests/FileTest.cmake.in
+++ b/Tests/CMakeTests/FileTest.cmake.in
@@ -11,7 +11,7 @@ set(Copy-LateArg-STDERR "option FILE_PERMISSIONS may not appear after")
set(Copy-NoDest-RESULT 1)
set(Copy-NoDest-STDERR "given no DESTINATION")
set(Copy-NoFile-RESULT 1)
-set(Copy-NoFile-STDERR "COPY cannot find .*/does_not_exist\\.txt")
+set(Copy-NoFile-STDERR "COPY cannot find.*/does_not_exist\\.txt")
foreach(test
Copy-BadArg