[Koha-bugs] [Bug 8840] ubuntu-pkg-check.sh fix and extend functionality

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 29 06:38:12 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8840

--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Revised/Clarified Test Plan
---------------------------

Prove The Problem
=================
1) Fresh install of Ubuntu 12.04 (Spanish)
2) ./install_misc/ubuntu-pkg-check.sh
-- This is to get the base output to compare.
-- a whole bunch of library name = none.
3) sudo apt-get install libyaml-perl
4) ./install_misc/ubuntu-pkg-check.sh
-- Identical output, even though we installed a dependency!
5) apply patch
6) ./install_misc/ubuntu-packages.sh -r
-- libyaml-perl should show the correct version number.

7) Fresh install of Ubuntu 12.04 (English)
8) ./install_misc/ubuntu-pkg-check.sh
-- Indentical to first output, no dependencies installed yet.
9) sudo apt-get install libyaml-perl
10) ./install_misc/ubuntu-pkg-check.sh
-- libyaml-perl should show the correct version number.
11) apply patch
12) ./install_misc/ubuntu-packages.sh -r
-- libyaml-perl should show the correct version number.

Test New Features (Help)
========================
13) ./install_misc/ubuntu-packages.sh -h
14) echo $?
-- It should give a nice help screen. And the echo result of 0.
15) ./install_misc/ubuntu-packages.sh
16) echo $?
-- It should give a nice help screen. And the echo result of 1 -- based you
gave incorrect parameters.
17) ./install_misc/ubuntu-packages.sh -badparm
18) echo $?
-- It should give a nice help screen. And the echo result of 1 -- based you
gave incorrect parameters.

Test New Features (Sudo apt-get command output)
===============================================
19) ./install_misc/ubuntu-packages.sh -ic
-- It should output an appropriate sudo apt-get command to install the
dependencies.
20) Cut and paste the command, then press enter!
-- install everything!
21) ./install_misc/ubuntu-packages.sh -ic
-- It should say it thinks everything is installed, and tell you to run a
koha_perl_deps.pl -m -u.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list