Skip to content

Commit

Permalink
systemtest config-dump: added new test
Browse files Browse the repository at this point in the history
This test checks if configuration data is written correctly by the "show" command.
Checks both the modes: normal text, JSON.
  • Loading branch information
joergsteffens committed Aug 27, 2020
1 parent 9586741 commit 75b2de8
Show file tree
Hide file tree
Showing 11 changed files with 3,568 additions and 1 deletion.
1 change: 1 addition & 0 deletions systemtests/CMakeLists.txt
Expand Up @@ -641,6 +641,7 @@ endforeach()
set(tests_dir ${PROJECT_BINARY_DIR}/tests)
set(SYSTEM_TESTS
client-initiated
config-dump
encrypt-signature
encrypt-signature-tls-cert
notls
Expand Down
2 changes: 1 addition & 1 deletion systemtests/scripts/setup
Expand Up @@ -6,7 +6,7 @@
sed \
-i \
-e 's/dbdriver =.*/dbdriver = XXX_REPLACE_WITH_DATABASE_DRIVER_XXX/' \
etc/bareos/bareos-dir.d/catalog/*.conf
etc/bareos/bareos-dir.d/catalog/*.conf 2>/dev/null

${scripts}/bareos-config initialize_database_driver
. ${rscripts}/functions
Expand Down

0 comments on commit 75b2de8

Please sign in to comment.