summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/File-MD5-Works.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-11-16 16:26:10 (GMT)
committerBrad King <brad.king@kitware.com>2011-11-16 16:26:10 (GMT)
commit8302608a744c3a4df3495f8db88784fb3f04660f (patch)
treea0cd96726251b7e4f00ffebde68633f9c21ba20d /Tests/CMakeTests/File-MD5-Works.cmake
parent9fb1a9cf1dc45672b38350f2c4ae560359521566 (diff)
downloadCMake-8302608a744c3a4df3495f8db88784fb3f04660f.zip
CMake-8302608a744c3a4df3495f8db88784fb3f04660f.tar.gz
CMake-8302608a744c3a4df3495f8db88784fb3f04660f.tar.bz2
Fix CMake.File hash test for CRLF checkouts
Use a dedicated test input file for the file() hash API tests. Set attribute crlf=input so it is always checked out correctly.
Diffstat (limited to 'Tests/CMakeTests/File-MD5-Works.cmake')
-rw-r--r--Tests/CMakeTests/File-MD5-Works.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/File-MD5-Works.cmake b/Tests/CMakeTests/File-MD5-Works.cmake
index 2989e98..0fabe54 100644
--- a/Tests/CMakeTests/File-MD5-Works.cmake
+++ b/Tests/CMakeTests/File-MD5-Works.cmake
@@ -1,2 +1,2 @@
-file(MD5 ${CMAKE_CURRENT_LIST_DIR}/File-Copy-NoDest.cmake md5)
+file(MD5 ${CMAKE_CURRENT_LIST_DIR}/File-HASH-Input.txt md5)
message("${md5}")