summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/File-SHA1-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-SHA1-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-SHA1-Works.cmake')
-rw-r--r--Tests/CMakeTests/File-SHA1-Works.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeTests/File-SHA1-Works.cmake b/Tests/CMakeTests/File-SHA1-Works.cmake
index 03ea3ac..f2ab5d7 100644
--- a/Tests/CMakeTests/File-SHA1-Works.cmake
+++ b/Tests/CMakeTests/File-SHA1-Works.cmake
@@ -1,2 +1,2 @@
-file(SHA1 ${CMAKE_CURRENT_LIST_DIR}/File-Copy-NoDest.cmake sha1)
+file(SHA1 ${CMAKE_CURRENT_LIST_DIR}/File-HASH-Input.txt sha1)
message("${sha1}")