summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-02-25 16:28:07 (GMT)
committerBrad King <brad.king@kitware.com>2016-02-25 16:40:50 (GMT)
commit6c9586f9c7804c4560a43aa6a03e490374174550 (patch)
treea58deccca02a19cdc8a21aefabea345e69c03b71 /Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt
parentf8af218ea148baafcfc3db6ea5ba7389f5ea7206 (diff)
downloadCMake-6c9586f9c7804c4560a43aa6a03e490374174550.zip
CMake-6c9586f9c7804c4560a43aa6a03e490374174550.tar.gz
CMake-6c9586f9c7804c4560a43aa6a03e490374174550.tar.bz2
file(DOWNLOAD): Fill STATUS variable on hash mismatch (#15987)
Although we fail with an error on a hash mismatch, it is not a fatal error so the script may continue processing. If the download itself had no error then report in the STATUS variable that the operation was not successful due to the hash mismatch. Suggested-by: Tobias Hieta <tobias@hieta.se>
Diffstat (limited to 'Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt')
-rw-r--r--Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt b/Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/Tests/RunCMake/file/DOWNLOAD-hash-mismatch-result.txt
@@ -0,0 +1 @@
+1