]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/tests/stats-test
update
[bacula/bacula] / regress / tests / stats-test
index 93c624e0500531cb0158f9422d0ae04545970ea4..67ffab881dfaae548e904464ecc14c866a0c1b97 100755 (executable)
@@ -62,21 +62,21 @@ check_for_zombie_jobs storage=File
 stop_bacula
 
 
-COUNT=$(grep FOUND ${cwd}/tmp/log1.out | wc -l)
+COUNT=`grep FOUND ${cwd}/tmp/log1.out | wc -l`
 if [ $COUNT -ne 1 ]; then
-    print_debug "Bad count in jobstat table"
+    print_debug "Bad count in JobHistory table"
     bstat=1
 fi
 
-COUNT=$(grep FOUND ${cwd}/tmp/log2.out | wc -l)
+COUNT=`grep FOUND ${cwd}/tmp/log2.out | wc -l`
 if [ $COUNT -ne 3 ]; then
-    print_debug "Bad count in jobstat table"
+    print_debug "Bad count in JobHistory table"
     bstat=2
 fi
 
-COUNT=$(grep FOUND ${cwd}/tmp/log3.out | wc -l)
+COUNT=`grep FOUND ${cwd}/tmp/log3.out | wc -l`
 if [ $COUNT -ne 1 ]; then
-    print_debug "Bad count in jobstat table"
+    print_debug "Bad count in JobHistory table"
     bstat=3
 fi