]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/data-encrypt-test
Backport from Bacula Enterprise
[bacula/bacula] / regress / tests / data-encrypt-test
index 8ef59c367f50ebd073522e7408897bb7d972e6d1..e23e9abb6ac9017e463afd99f67a0b7339dcc122 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # Run a simple backup with encryption and no other options 
 #    (i.e. no compression and no sparse handling) of the 
@@ -16,7 +21,7 @@ change_jobname NightlySave $JobName
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 label storage=File volume=TestVolume001
@@ -44,8 +49,8 @@ sleep 2
 check_for_zombie_jobs storage=File 
 stop_bacula
 
-du -s build
-du -s ${cwd}/tmp/bacula-restores/
+du -s build >${cwd}/tmp/log2.out
+du -s ${cwd}/tmp/bacula-restores/ >${cwd}/tmp/log2.out
 
 check_two_logs
 check_restore_diff