]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/debug-test
Backport from Bacula Enterprise
[bacula/bacula] / regress / tests / debug-test
index 92fecc3dc3d242a467cf0247e08e0b0d479d3c84..df39ac83acc4f8649925497e53fd53d74e55df97 100755 (executable)
@@ -1,4 +1,9 @@
 #!/bin/sh
+#
+# Copyright (C) 2000-2015 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
+
 #
 # Attempt to backup and restore a file with the bpipe plugin
 #
@@ -14,7 +19,7 @@ rm -f ${cwd}/working/*trace*
 start_test
 
 cat <<END_OF_DATA >${cwd}/tmp/bconcmds
-@$out /dev/null
+@output /dev/null
 messages
 @$out ${cwd}/tmp/log1.out
 label storage=File1 volume=TestVolume001
@@ -29,11 +34,11 @@ run_bacula
 
 killall -SEGV bacula-dir bacula-sd bacula-fd
 
-test -f working/*dir*bactrace
+test -f working/*dir*lockdump
 dstat=$?
-test -f working/*fd*bactrace
+test -f working/*fd*lockdump
 dstat=`expr $dstat + $?`
-test -f working/*sd*bactrace
+test -f working/*sd*lockdump
 dstat=`expr $dstat + $?`
 test -f working/*dir*traceback
 dstat=`expr $dstat + $?`
@@ -42,11 +47,11 @@ dstat=`expr $dstat + $?`
 test -f working/*sd*traceback
 dstat=`expr $dstat + $?`
 
-grep $JobName working/*dir*bactrace > /dev/null 2>&1
+grep $JobName working/*dir*lockdump > /dev/null 2>&1
 dstat=`expr $dstat + $?`
-grep bpipe-fd.so working/*fd*bactrace > /dev/null 2>&1
+grep bpipe-fd.so working/*fd*lockdump > /dev/null 2>&1
 dstat=`expr $dstat + $?`
-grep $JobName working/*fd*bactrace > /dev/null 2>&1
+grep $JobName working/*fd*lockdump > /dev/null 2>&1
 dstat=`expr $dstat + $?`
 
 bstat=0