Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Fix copy-x-tests as we now honor storage on restore
Browse files Browse the repository at this point in the history
tests/copy-job-test
tests/copy-upgrade-test
tests/copy-volume-test

explicitly specified the wrong storage during restore
which makes the restore impossible.

We now do not specify the storage on restore so everything
works as expected.
  • Loading branch information
pstorz committed Dec 19, 2015
1 parent d683453 commit f054658
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/copy-job-test
Expand Up @@ -70,7 +70,7 @@ list jobs
@#
@$out ${cwd}/tmp/log2.out
list volumes
restore where=${cwd}/tmp/bareos-restores select storage=DiskChanger
restore where=${cwd}/tmp/bareos-restores select
unmark *
mark *
done
Expand Down
2 changes: 1 addition & 1 deletion tests/copy-upgrade-test
Expand Up @@ -101,7 +101,7 @@ cat<<END_OF_DATA > ${cwd}/tmp/bconcmds.resto
@#
@$out ${cwd}/tmp/log2.out
list volumes
restore copies where=${cwd}/tmp/bareos-restores select storage=DiskChanger
restore copies where=${cwd}/tmp/bareos-restores select
unmark *
mark *
done
Expand Down
2 changes: 1 addition & 1 deletion tests/copy-volume-test
Expand Up @@ -86,7 +86,7 @@ messages
@# Use File instead of DiskChanger
@# Files are there
@############################################################
restore where=${cwd}/tmp/bareos-restores select storage=DiskChanger
restore where=${cwd}/tmp/bareos-restores select
unmark *
mark *
done
Expand Down

0 comments on commit f054658

Please sign in to comment.