From: Eric Bollengier Date: Fri, 24 Oct 2008 13:34:36 +0000 (+0000) Subject: ebl Fix shell for solaris X-Git-Tag: Release-3.0.0~709 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4e6d20de9e134b241fdd28547b99f0dffcac2c0;p=bacula%2Fbacula ebl Fix shell for solaris git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7894 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/stats-test b/regress/tests/stats-test index 93c624e050..d4ea484684 100755 --- a/regress/tests/stats-test +++ b/regress/tests/stats-test @@ -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