Skip to content

Commit

Permalink
systemtests: enable only the used database for dbcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
franku authored and pstorz committed Jan 31, 2020
1 parent 793195f commit eeaa727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.

This file was deleted.

4 changes: 2 additions & 2 deletions systemtests/tests/dbcopy-mysql-postgresql-test/testrunner
Expand Up @@ -31,7 +31,7 @@ echo "$conf" > "$tmp/file-list-python-plugin"

start_test

#enable only mysql (disable postgresql)
#enable only mysql
mv "${conf}"/bareos-dir.d/catalog/postgresql.conf "${conf}"/bareos-dir.d/catalog/postgresql.conf.disabled

cat <<END_OF_DATA >$tmp/bconcmds
Expand Down Expand Up @@ -60,7 +60,7 @@ mv "${conf}"/bareos-dir.d/catalog/postgresql.conf.disabled "${conf}"/bareos-dir.
#do the database copy
"${sbin}"/bareos-dbcopy -d -c ${current_test_directory}/etc/bareos mysql postgresql

#enable only postgresql (disable mysql)
#enable only postgresql
mv "${conf}"/bareos-dir.d/catalog/mysql.conf "${conf}"/bareos-dir.d/catalog/mysql.conf.disabled

cat <<END_OF_DATA >$tmp/bconcmds
Expand Down

0 comments on commit eeaa727

Please sign in to comment.