diff --git a/filetree/CMakeLists.txt b/filetree/CMakeLists.txt index 208def8..d44c585 100644 --- a/filetree/CMakeLists.txt +++ b/filetree/CMakeLists.txt @@ -85,7 +85,7 @@ new_ec_test(windows_separator2 path_separator.in windows/separator2 "^[ \t\n\r]* # Globs with backslash in it but should be considered as file name on Non-Windows system if((NOT WIN32) AND (NOT CYGWIN)) - new_ec_test(backslash_not_on_windows path_separator.in "windows\\\\separator2" "^key4=value4[ \t\n\r]*$") + new_ec_test(backslash_not_on_windows path_separator.in "windows\\separator2" "^key4=value4[ \t\n\r]*$") endif() new_ec_test(path_with_special_chars path_with_special_chars.in "path_with_special_[chars/test.a" "^key=value[ \t\n\r]*$") diff --git a/glob/CMakeLists.txt b/glob/CMakeLists.txt index 98f10b9..aa8226d 100644 --- a/glob/CMakeLists.txt +++ b/glob/CMakeLists.txt @@ -179,7 +179,7 @@ new_ec_test(braces_escaped_brace3 braces.in f.txt "^closing=yes[ \t\n\r]*$") # escaped backslash new_ec_test(braces_escaped_backslash1 braces.in g.txt "^backslash=yes[ \t\n\r]*$") if((NOT WIN32) AND (NOT CYGWIN)) # this case is impossible on Windows. - new_ec_test(braces_escaped_backslash2 braces.in \\\\.txt "^backslash=yes[ \t\n\r]*$") + new_ec_test(braces_escaped_backslash2 braces.in "\\.txt" "^backslash=yes[ \t\n\r]*$") endif() new_ec_test(braces_escaped_backslash3 braces.in i.txt "^backslash=yes[ \t\n\r]*$")