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.cmake8
1 files changed, 8 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..e3f91e3
--- /dev/null
+++ b/Tests/RunCMake/file-DOWNLOAD/hash-mismatch.cmake
@@ -0,0 +1,8 @@
+include(common.cmake)
+
+file(DOWNLOAD ${url} ${file}
+ EXPECTED_HASH SHA1=0123456789abcdef0123456789abcdef01234567
+ TIMEOUT 30
+ STATUS status
+ )
+message("status='${status}'")