summaryrefslogtreecommitdiff
path: root/Tests/CMakeTests/FileDownloadBadHashTest.cmake.in
blob: 4a47c0695752fd12870f9831e1df5938e027fa4e (plain)
1
2
3
4
5
6
7
8
9
10
set(url "file://@CMAKE_CURRENT_SOURCE_DIR@/FileDownloadInput.png")
set(dir "@CMAKE_CURRENT_BINARY_DIR@/downloads")

file(DOWNLOAD
  ${url}
  ${dir}/file3.png
  TIMEOUT 2
  STATUS status
  EXPECTED_HASH SHA1=5555555555555555555555555555555555555555
  )