bin/bacula start 2>&1 >/dev/null
bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@tee /dev/null
+@output /dev/null
messages
-@tee tmp/log1.out
+@output tmp/log1.out
label storage=File volume=TestVolume001
run job=CompressedTest level=Full yes
run job=CompressedTest level=Full yes
@#
@# now do a restore
@#
-@tee tmp/log2.out
+@output tmp/log2.out
restore where=${cwd}/tmp/bacula-restores select storage=File
unmark *
mark *
yes
wait
messages
-@tee
+@output
quit
END_OF_DATA
scripts/check_for_zombie_jobs storage=File