summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake')
-rw-r--r--Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake b/Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake
new file mode 100644
index 0000000..ca72692
--- /dev/null
+++ b/Tests/RunCMake/file/DOWNLOAD-hash-mismatch.cmake
@@ -0,0 +1,7 @@
+file(DOWNLOAD
+ "file://${CMAKE_CURRENT_SOURCE_DIR}/DOWNLOAD-hash-mismatch.txt"
+ ${CMAKE_CURRENT_BINARY_DIR}/hash-mismatch.txt
+ EXPECTED_HASH SHA1=0123456789abcdef0123456789abcdef01234567
+ STATUS status
+ )
+message("status='${status}'")