]> 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 167b9d325d2744de9743ff500b4f668cdf9b8f88..366a88e1d61e0291a1659d30b2b7c1522d393a60 100755 (executable)
@@ -8,10 +8,12 @@ TestName="win32-to-linux-tape"
 JobName=AutoLabel
 . scripts/functions
 
+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
@@ -32,7 +34,7 @@ messages
 @# now do a restore
 @#
 @$out tmp/log2.out
-restore where=/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