]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix shell for solaris
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Oct 2008 13:34:36 +0000 (13:34 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Oct 2008 13:34:36 +0000 (13:34 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7894 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/stats-test

index 93c624e0500531cb0158f9422d0ae04545970ea4..d4ea48468459acfc6bd1e0aedcd5136268ac9c47 100755 (executable)
@@ -62,19 +62,19 @@ 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"
     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"
     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"
     bstat=3