Apache tests for various scenarios
setup_apache2(mode => $mode);
Setup Apache service in different mode. Possible values for $mode
are: SSL, NSS, NSSFIPS, PHP7 and PHP8
setup_apache2(mode => 'SSL');
setup_pgsqldb();
Set up a postgres data base
destroy_pgsqldb();
Destroy a postgres data base
test_pgsqldb();
Set up a postgres database and configure for:
PHP can access PostgreSQL by using password authentication.
Comment out default configuration.
Allow postgres to access the database with password authentication
Configure the PHP code to read table 'test' from the 'openQAdb' database (created in 'console/postgresql...' test) and insert a new element into the same table
Access the website and verify that it can read the database
Verify that PHP successfully wrote the element in the database
Add sudo rights to switch postgresql version and run script to determine oldest and latest version
Upgrade db from oldest version to latest version
Verify enties from imported dvdrental db before and after dump and restore
test_mysql();
Create the 'openQAdb' database with table 'test' and insert one element