summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CPack/tests/GENERATE_SHLIBS/VerifyResult.cmake
blob: 8cefeea5fcd2fe3ae9b2471e697424c382fe176d (plain)
1
2
3
4
5
6
7
8
9
if(RunCMake_SUBTEST_SUFFIX STREQUAL "soversion_not_zero")
  set(shlibs_shlibs "^libtest_lib 0\\.8 generate_shlibs \\(\\= 0\\.1\\.1\\)\n$")
else() # soversion_zero
  set(shlibs_shlibs "^libtest_lib 0 generate_shlibs \\(\\= 0\\.1\\.1\\)\n$")
endif()

# optional dot at the end of permissions regex is for SELinux enabled systems
set(shlibs_shlibs_permissions_regex "-rw-r--r--\.? .*")
verifyDebControl("${FOUND_FILE_1}" "shlibs" "shlibs")