]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/four-jobs-tape
Final changes
[bacula/bacula] / regress / tests / four-jobs-tape
index 4b082dbe0e1464586addfc0fe8e40f85f106ee47..9d930bf2581c542e71c21051acc939be1c6e52dc 100755 (executable)
@@ -5,12 +5,6 @@
 #   It should require at least 4 different bsrs.
 #
 cwd=`pwd`
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
 
 scripts/copy-tape-confs
 scripts/cleanup-tape
@@ -100,11 +94,19 @@ restore where=${cwd}/tmp/bacula-restores select all done
 yes
 wait
 @output tmp/log2.out
+@#
+@# now unmount the tape and start two restores
+@#  at the same time
+@#
+unmount storage=DDS-4
+restore where=${cwd}/tmp/bacula-restores select all done
+yes
 restore where=${cwd}/tmp/bacula-restores select
 unmark *
 mark *
 done
 yes
+mount storage=DDS-4
 wait
 messages
 @output