diff options
author | Brad King <brad.king@kitware.com> | 2020-07-03 15:31:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-07-03 15:31:25 (GMT) |
commit | 98e0cbd8eb6a09b35542cf321755cefcbb942d10 (patch) | |
tree | 1e605d8d235bfed6480e2a6a1febf05e519c845d /Tests/CPackComponentsForAll | |
parent | b33283a282da4afbf75b66390012b9ac73d13444 (diff) | |
download | CMake-98e0cbd8eb6a09b35542cf321755cefcbb942d10.zip CMake-98e0cbd8eb6a09b35542cf321755cefcbb942d10.tar.gz CMake-98e0cbd8eb6a09b35542cf321755cefcbb942d10.tar.bz2 |
Tests: Verify DMG default SLA content
Diffstat (limited to 'Tests/CPackComponentsForAll')
-rw-r--r-- | Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake index 7ab8820..f3d3ad0 100644 --- a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake +++ b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake @@ -153,6 +153,22 @@ if(expected_file_mask) message(FATAL_ERROR "error: running 'hdiutil udifderez -xml' on\n ${expected_file}\ndid not show '${key}' key:\n${out}") endif() endforeach() + foreach(line + # LPic first and last base64 lines + "\tAAIAEQADAAEAAAAAAAIAAAAIAAMAAAABAAQAAAAEAAUAAAAOAAYA\n" + "\tAA0AAABbAAQAAAAzAA8AAQAMABAAAAALAA4AAA==\n" + # STR# first and last base64 lines + "\tAAkHRW5nbGlzaAVBZ3JlZQhEaXNhZ3JlZQVQcmludAdTYXZlLi4u\n" + "\tdGVkIGEgcHJpbnRlci4=\n" + # TEXT first and last base64 lines + "\tTElDRU5TRQ0tLS0tLS0tDVRoaXMgaXMgYW4gaW5zdGFsbGVyIGNy\n" + "\tTm8gbGljZW5zZSBwcm92aWRlZC4NDQ==\n" + ) + if(NOT out MATCHES "${line}") + string(REPLACE "\n" "\n " out " ${out}") + message(FATAL_ERROR "error: running 'hdiutil udifderez -xml' on\n ${expected_file}\ndid not show '${line}':\n${out}") + endif() + endforeach() endif() endif() |