]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/win32-to-linux-tape
Tweak virtual changer scripts
[bacula/bacula] / regress / tests / win32-to-linux-tape
index 66e4814e0abd21c709609c92d691cd2fe79de501..366a88e1d61e0291a1659d30b2b7c1522d393a60 100755 (executable)
@@ -7,12 +7,13 @@
 TestName="win32-to-linux-tape"
 JobName=AutoLabel
 . scripts/functions
-set_debug 0
+
+require_tape_drive
 
 scripts/copy-win32-confs
 scripts/cleanup-tape
 
-echo "${cwd}/build" >/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 change_job $JobName
 start_test
@@ -33,7 +34,7 @@ messages
 @# now do a restore
 @#
 @$out tmp/log2.out
-restore where=c:/tmp/bacula-restores client=Tibs select all storage=DDS-4 done
+restore where=${cwd}/tmp/bacula-restores client=Tibs select all storage=DDS-4 done
 yes
 wait
 messages