summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2015-09-14 20:44:00 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-17 19:30:39 (GMT)
commitbecb14c9552578954bc99e2428b8e6f383eadb55 (patch)
treee1130c5848f3fa5e65fb28dd3baa7327c5f76859 /Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake
parent7044e8ee4baa8250fd9c4e915b13d53c7f543ea3 (diff)
downloadCMake-becb14c9552578954bc99e2428b8e6f383eadb55.zip
CMake-becb14c9552578954bc99e2428b8e6f383eadb55.tar.gz
CMake-becb14c9552578954bc99e2428b8e6f383eadb55.tar.bz2
CPack/DEB: test preserve extra config file permissions
Diffstat (limited to 'Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake')
-rw-r--r--Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake
index 78b6114..5f929ff 100644
--- a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake
+++ b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake
@@ -1,11 +1,17 @@
set(foo_preinst "^echo default_preinst$")
+set(foo_preinst_permissions_regex "-rwxr-xr-x .*")
set(foo_prerm "^echo default_prerm$")
+set(foo_prerm_permissions_regex "-rwxr-xr-x .*")
verifyDebControl("${FOUND_FILE_1}" "foo" "preinst;prerm")
set(bar_preinst "^echo bar_preinst$")
+set(bar_prerm_permissions_regex "-rwx------ .*")
set(bar_prerm "^echo bar_prerm$")
+set(bar_prerm_permissions_regex "-rwx------ .*")
verifyDebControl("${FOUND_FILE_2}" "bar" "preinst;prerm")
set(bas_preinst "^echo default_preinst$")
+set(bas_prerm_permissions_regex "-rwxr-xr-x .*")
set(bas_prerm "^echo default_prerm$")
+set(bas_prerm_permissions_regex "-rwxr-xr-x .*")
verifyDebControl("${FOUND_FILE_3}" "bas" "preinst;prerm")