Bug 20692: Extreme toggle checking for plack
authorMark Tompsett <mtompset@hotmail.com>
Mon, 28 May 2018 16:45:29 +0000 (16:45 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 23 May 2019 21:40:20 +0000 (21:40 +0000)
commit7258095decfd92f9a76850137d5915794d92fb05
treeee5edc1976a9c934bca4fdd88aa98fb66fb50c47
parent713784ff0b775dff5966b48c274490ce227e102a
Bug 20692: Extreme toggle checking for plack

TEST PLAN
---------
sudo koha-plack --disable
sudo koha-plack --disable
sudo koha-plack --enable

sudo koha-plack --disable
echo $?
sudo koha-plack --disable
echo $?
sudo koha-list --noplack
echo $?
sudo koha-plack --enable
echo $?
sudo koha-plack --enable
echo $?
sudo koha-list --plack
echo $?

git bz apply 20692
sudo perl ~/misc4dev/cp_debian_files.pl
then repeat the test.

It should also be noted, because the enable
and disable are now split, if for some reason
they become out of sync, an enable or disable
should correct them.

Because these are bash scripts, the test tool
(/home/vagrant/qa-test-tools/koha-qa.pl)
does not apply.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit de20398db303a1ee45b62f9aa51f124597ed0cd8)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 84adcb4017e7be038e5e32c37a6b40e4ab9f59c7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
debian/scripts/koha-functions.sh
debian/scripts/koha-plack