#!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
#
# Run a simple backup of the Bacula build directory
# then restore it.
start_test
cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@output /dev/null
+@$out /dev/null
messages
-@output ${cwd}/tmp/log1.out
+@$out ${cwd}/tmp/log1.out
label storage=File volume=TestVolume001
run job=NightlySave yes
wait
@#
@# now do a restore
@#
-@output ${cwd}/tmp/log2.out
+@$out ${cwd}/tmp/log2.out
restore where=${cwd}/tmp/bacula-restores select all done
yes
wait
messages
-@output
quit
END_OF_DATA