mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-17 09:11:36 -05:00
Tests: Verify DMG default SLA content
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user