diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-06-19 22:28:19 +0200 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-06-20 09:29:11 -0400 |
commit | 6107fab467b70e18dc3e90a9885eedf8fb508a39 (patch) | |
tree | d9b27df3b013df20881327b749ed4dea6dfc3aaa | |
parent | 302391bae6a79a4770cbece3f6c12f8140890a00 (diff) | |
download | cmake-6107fab467b70e18dc3e90a9885eedf8fb508a39.tar.gz |
CPack/Deb: Fix test to actually test the preinst script
The test regex variable name was invalid and did not test preinst
script.
Reported-by: Patrick <mail6543210@yahoo.com.tw>
-rw-r--r-- | Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake index 5b6ae735e7..85e137fec4 100644 --- a/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake +++ b/Tests/RunCMake/CPack/DEB/DEB_EXTRA-VerifyResult.cmake @@ -6,13 +6,13 @@ 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_preinst_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_preinst_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") |