Run installer in a selected container:
$ ./run-in-container test-centos-8-stage-3
Run tests:
$ cd tests
$ prove installation.t
Run tests with output:
$ cd tests
$ SHOW_OUTPUT=1 prove -v installation.t
Note that some color output will probably be incorrect when running tests with
the above command. To make sure the actual output isn't broken, you can run
tests with perl
:
$ cd tests
$ SHOW_OUTPUT=1 perl installation.t
- test-centos-8
Base CentOS 8 system built from thecentos:8.3.2011
image with systemd enabled - test-centos-8-stage-1
CentOS 8 with Perl installed - test-centos-8-stage-2
CentOS 8 with Perl and Apache installed - test-centos-8-stage-3
CentOS 8 with Perl, Apache, and MariaDB installed - test-centos-8-stage-4
CentOS 8 with Perl, Apache, MariaDB, and Perl modules required by OTRS CE installed
-
test-ubuntu-20-04
Base Ubuntu 20.04 system built from theubuntu:20.04
image with systemd enabled -
test-ubuntu-20-04-stage-1
Ubuntu 20.04 with Apache installed -
test-ubuntu-20-04-stage-2
Ubuntu 20.04 with Apache and MariaDB installed -
test-ubuntu-20-04-stage-3
Ubuntu 20.04 with Apache, MariaDB, and Perl modules required by OTRS CE installed -
test-ubuntu-21-04
Base Ubuntu 21.04 system built from theubuntu:21.04
image with systemd enabled -
test-ubuntu-21-04-stage-1
Ubuntu 21.04 with Apache installed -
test-ubuntu-21-04-stage-2
Ubuntu 21.04 with Apache and MariaDB installed -
test-ubuntu-21-04-stage-3
Ubuntu 21.04 with Apache, MariaDB, and Perl modules required by OTRS CE installed
Shell variables used globally:
SCRIPT_DIR
- the folder where the installation script is locatedINSTALL_DIR
- installation folder (default:/opt/otrs
)- ...