Skip to content

Commit

Permalink
backup-bareos-encrypt-signature-tests: apply shellcheck cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorz committed Feb 3, 2020
1 parent 44d0c51 commit 5e227f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
Expand Up @@ -7,20 +7,23 @@ TestName="$(basename "$(pwd)")"
export TestName

JobName=backup-bareos-fd

#shellcheck source=../environment.in
. ./environment
. ${scripts}/functions

${scripts}/cleanup
${scripts}/setup
#shellcheck source=../scripts/functions
. "${rscripts}"/functions
"${rscripts}"/cleanup
"${rscripts}"/setup


# Directory to backup.
# This directory will be created by setup_data().
# This directory will be created by setup_data "$@"().
BackupDirectory="${tmp}/data"

# Use a tgz to setup data to be backed up.
# Data will be placed at "${tmp}/data/".
setup_data
setup_data "$@"

start_test

Expand Down Expand Up @@ -48,7 +51,7 @@ messages
quit
END_OF_DATA

run_bareos
run_bareos "$@"
check_for_zombie_jobs storage=File
stop_bareos

Expand Down
Expand Up @@ -7,20 +7,23 @@ TestName="$(basename "$(pwd)")"
export TestName

JobName=backup-bareos-fd

#shellcheck source=../environment.in
. ./environment
. ${scripts}/functions

${scripts}/cleanup
${scripts}/setup
#shellcheck source=../scripts/functions
. "${rscripts}"/functions
"${rscripts}"/cleanup
"${rscripts}"/setup


# Directory to backup.
# This directory will be created by setup_data().
# This directory will be created by setup_data "$@"().
BackupDirectory="${tmp}/data"

# Use a tgz to setup data to be backed up.
# Data will be placed at "${tmp}/data/".
setup_data
setup_data "$@"

start_test

Expand Down Expand Up @@ -48,7 +51,7 @@ messages
quit
END_OF_DATA

run_bareos
run_bareos "$@"
check_for_zombie_jobs storage=File
stop_bareos

Expand Down

0 comments on commit 5e227f7

Please sign in to comment.