]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/encrypt-bug-test
regress: make truncate-test check for wrongly truncating an already truncated volume
[bacula/bacula] / regress / tests / encrypt-bug-test
index 93f2b2ef3502a4128ffddde955ab38badfbb0683..c6c810b31c1f566d5c5a2319614b111103856633 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 of untitled15.jpg that fails to
 #  restore properly in bug #763 
@@ -25,7 +30,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
@@ -45,7 +50,6 @@ done
 yes
 wait
 messages
-@$out
 quit
 END_OF_DATA
 
@@ -54,9 +58,8 @@ sleep 2
 check_for_zombie_jobs storage=File 
 stop_bacula
 
-du -s build
-du -s ${cwd}/tmp/bacula-restores/
-
+#du -s build
+#du -s ${cwd}/tmp/bacula-restores/
 
 check_two_logs
 diff ${cwd}/tmp/build ${cwd}/tmp/bacula-restores/${cwd} 2>&1 >/dev/null