2015-11-17 17:22:37 +01:00
|
|
|
set(foo_preinst "^echo default_preinst$")
|
2016-07-09 11:21:54 +02:00
|
|
|
# NOTE: optional dot at the end of permissions regex is for SELinux enabled systems
|
|
|
|
set(foo_preinst_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
set(foo_prerm "^echo default_prerm$")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(foo_prerm_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
verifyDebControl("${FOUND_FILE_1}" "foo" "preinst;prerm")
|
|
|
|
|
|
|
|
set(bar_preinst "^echo bar_preinst$")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(bar_preinst_permissions_regex "-rwx------\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
set(bar_prerm "^echo bar_prerm$")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(bar_prerm_permissions_regex "-rwx------\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
verifyDebControl("${FOUND_FILE_2}" "bar" "preinst;prerm")
|
|
|
|
|
|
|
|
set(bas_preinst "^echo default_preinst$")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(bas_preinst_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
set(bas_prerm "^echo default_prerm$")
|
2016-07-09 11:21:54 +02:00
|
|
|
set(bas_prerm_permissions_regex "-rwxr-xr-x\.? .*")
|
2015-11-17 17:22:37 +01:00
|
|
|
verifyDebControl("${FOUND_FILE_3}" "bas" "preinst;prerm")
|