bareos: master 86289ce6

Author Committer Branch Timestamp Parent
joergs joergs master 2021-06-14 19:10 master 7525e020 Pending
Changeset systemtests: implement multi tests (fixtures)

A systemtest directory can now either contains a single testscript,
named "testrunner" or multiple testscripts:
* test-setup (optional, falls back to ${rscripts}/start_bareos.sh)
* testrunner-* (multiple)
* test-cleanup (optional, falls back to ${rscripts}/cleanup)

The ctest naming is:
* system:${TEST_DIRECTORY}:test-setup
* system:${TEST_DIRECTORY}:${SCRIPT_NAME_WITHOUT_TESTRUNNER}
* system:${TEST_DIRECTORY}:test-cleanup

All testrunner-* tests from a directory are executed in sequence.

This commit also split up cmake configuration for each test
into its directory.

Also:
* removed find_program(false), as it is not required.
* py2plug-fd-postgres: disabled.
* py3plug-fd-postgres: switch from psycopg2 to pg8000.
mod - systemtests/CMakeLists.txt Diff File
mod - systemtests/bin/bareos Diff File
add - systemtests/cmake/BareosSystemtestFunctions.cmake Diff File
mod - systemtests/environment.in Diff File
mod - systemtests/scripts/cleanup Diff File
mod - systemtests/scripts/functions Diff File
mod - systemtests/scripts/setup Diff File
add - systemtests/scripts/start_bareos.sh Diff File
add - systemtests/tests/CMakeLists.txt Diff File
add - systemtests/tests/acl/CMakeLists.txt Diff File
add - systemtests/tests/ai-consolidate-ignore-duplicate-job/CMakeLists.txt Diff File
add - systemtests/tests/autochanger/CMakeLists.txt Diff File
add - systemtests/tests/bareos-acl/CMakeLists.txt Diff File
add - systemtests/tests/bareos/CMakeLists.txt Diff File
add - systemtests/tests/bconsole-pam/CMakeLists.txt Diff File
add - systemtests/tests/bconsole-status-client/CMakeLists.txt Diff File
add - systemtests/tests/block-size/CMakeLists.txt Diff File
add - systemtests/tests/bscan-bextract-bls/CMakeLists.txt Diff File
add - systemtests/tests/catalog/CMakeLists.txt Diff File
add - systemtests/tests/client-initiated/CMakeLists.txt Diff File
add - systemtests/tests/config-dump/CMakeLists.txt Diff File
add - systemtests/tests/config-syntax-crash/CMakeLists.txt Diff File
add - systemtests/tests/copy-archive-job/CMakeLists.txt Diff File
add - systemtests/tests/copy-bscan/CMakeLists.txt Diff File
add - systemtests/tests/copy-remote-bscan/CMakeLists.txt Diff File
add - systemtests/tests/dbcopy-mysql-postgresql/CMakeLists.txt Diff File
add - systemtests/tests/deprecation/CMakeLists.txt Diff File
add - systemtests/tests/droplet-s3/CMakeLists.txt Diff File
mod - systemtests/tests/droplet-s3/testrunner Diff File
add - systemtests/tests/encrypt-signature-tls-cert/CMakeLists.txt Diff File
add - systemtests/tests/encrypt-signature/CMakeLists.txt Diff File
add - systemtests/tests/fileset-multiple-include-blocks/CMakeLists.txt Diff File
add - systemtests/tests/fileset-multiple-options-blocks/CMakeLists.txt Diff File
add - systemtests/tests/filesets/CMakeLists.txt Diff File
add - systemtests/tests/gfapi-fd/CMakeLists.txt Diff File
add - systemtests/tests/glusterfs-backend/CMakeLists.txt Diff File
add - systemtests/tests/list-backups/CMakeLists.txt Diff File
add - systemtests/tests/messages/CMakeLists.txt Diff File
add - systemtests/tests/multiplied-device/CMakeLists.txt Diff File
add - systemtests/tests/ndmp/CMakeLists.txt Diff File
add - systemtests/tests/notls/CMakeLists.txt Diff File
add - systemtests/tests/passive/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-dir/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-ldap/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-libcloud/CMakeLists.txt Diff File
mod - systemtests/tests/py2plug-fd-libcloud/testrunner Diff File
add - systemtests/tests/py2plug-fd-local-fileset-restoreobject/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-local-fileset/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-ovirt/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-percona-xtrabackup/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-postgres/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-fd-vmware/CMakeLists.txt Diff File
add - systemtests/tests/py2plug-sd/CMakeLists.txt Diff File
add - systemtests/tests/python-bareos/CMakeLists.txt Diff File
add - systemtests/tests/python-pam/CMakeLists.txt Diff File
add - systemtests/tests/python-restapi/CMakeLists.txt Diff File
add - systemtests/tests/quota-softquota/CMakeLists.txt Diff File
add - systemtests/tests/scheduler-backup/CMakeLists.txt Diff File
add - systemtests/tests/sparse-file/CMakeLists.txt Diff File
add - systemtests/tests/spool/CMakeLists.txt Diff File
add - systemtests/tests/truncate-command/CMakeLists.txt Diff File
add - systemtests/tests/upgrade-database/CMakeLists.txt Diff File
add - systemtests/tests/virtualfull-bscan/CMakeLists.txt Diff File
add - systemtests/tests/virtualfull/CMakeLists.txt Diff File
add - systemtests/tests/volume-pruning/CMakeLists.txt Diff File
add - systemtests/tests/xattr/CMakeLists.txt Diff File