diff options
author | Brad King <brad.king@kitware.com> | 2011-11-16 16:26:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-16 16:26:10 (GMT) |
commit | 8302608a744c3a4df3495f8db88784fb3f04660f (patch) | |
tree | a0cd96726251b7e4f00ffebde68633f9c21ba20d /Tests/CMakeTests/File-MD5-Works.cmake | |
parent | 9fb1a9cf1dc45672b38350f2c4ae560359521566 (diff) | |
download | CMake-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.cmake | 2 |
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}") |