mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-17 09:11:36 -05:00
Tests: Cover using RTF for DMG SLAs
This commit is contained in:
7
Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf
Normal file
7
Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf
Normal file
@@ -0,0 +1,7 @@
|
||||
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
|
||||
{\colortbl ;\red0\green0\blue255;}
|
||||
{\*\generator Riched20 10.0.18362}\viewkind4\uc1
|
||||
\pard\sa200\sl276\slmult1\b\f0\fs22\lang9 LICENSE\b0\par
|
||||
This is an installer created using CPack ({{\field{\*\fldinst{HYPERLINK https://cmake.org }}{\fldrslt{https://cmake.org\ul0\cf0}}}}\f0\fs22 ). No license provided.\par
|
||||
\par
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
LICENSE
|
||||
-------
|
||||
This is an installer created using CPack (https://cmake.org). No license provided.
|
||||
@@ -4,7 +4,7 @@ if(NOT res EQUAL 0)
|
||||
string(REPLACE "\n" "\n " err " ${err}")
|
||||
message(FATAL_ERROR "Running 'hdiutil udifderez -xml' on\n ${dmg}\nfailed with:\n${err}")
|
||||
endif()
|
||||
foreach(key "LPic" "STR#" "TEXT")
|
||||
foreach(key "LPic" "STR#" "TEXT" "RTF ")
|
||||
if(NOT out MATCHES "<key>${key}</key>")
|
||||
string(REPLACE "\n" "\n " out " ${out}")
|
||||
message(FATAL_ERROR "error: running 'hdiutil udifderez -xml' on\n ${dmg}\ndid not show '${key}' key:\n${out}")
|
||||
@@ -19,9 +19,9 @@ foreach(line
|
||||
# STR# German first and last base64 lines
|
||||
"\tAAkGR2VybWFuC0FremVwdGllcmVuCEFibGVobmVuB0RydWNrZW4M\n"
|
||||
"\tYXVzZ2V3wopobHQgaXN0Lg==\n"
|
||||
# TEXT English first and last base64 lines
|
||||
"\tTElDRU5TRQ0tLS0tLS0tDVRoaXMgaXMgYW4gaW5zdGFsbGVyIGNy\n"
|
||||
"\tTm8gbGljZW5zZSBwcm92aWRlZC4NDQ==\n"
|
||||
# RTF English first and last base64 lines
|
||||
"\te1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZGVmZjBcbm91aWNvbXBh\n"
|
||||
"\tdmlkZWQuXHBhcg1ccGFyDX0NDQ==\n"
|
||||
# TEXT German first and last base64 lines
|
||||
"\tTElaRU5aDS0tLS0tLQ1EaWVzIGlzdCBlaW4gSW5zdGFsbGF0aW9u\n"
|
||||
"\tZ2ViZW4uDQ0=\n"
|
||||
|
||||
Reference in New Issue
Block a user