From 6e8ee25b42581ebc4cb72095aec16a6268c396d8 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 27 Feb 2008 16:21:04 +0000 Subject: [PATCH] Apply Allan Black's patch to remove bashisms git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6497 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/accurate-test | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/regress/tests/accurate-test b/regress/tests/accurate-test index ee5aff01a1..5d54194cdb 100755 --- a/regress/tests/accurate-test +++ b/regress/tests/accurate-test @@ -88,8 +88,8 @@ rm -rf ${cwd}/tmp/bacula-restores ################################################################ ${cwd}/bin/bls -c ${cwd}/bin/bacula-sd.conf -V 'TestVolume001' FileStorage > tmp/bls.out -if ! grep -- '----' tmp/bls.out | grep xxx > /dev/null -then +grep -- '----' tmp/bls.out | grep xxx > /dev/null +if [ $? != 0 ] ; then bstat=2 fi @@ -272,8 +272,8 @@ check_restore_diff rm -rf ${cwd}/tmp/bacula-restores -if ! grep 'st_mode differ' tmp/log1.out > /dev/null -then +grep 'st_mode differ' tmp/log1.out > /dev/null +if [ $? != 0 ] ; then bstat=2 fi @@ -300,7 +300,7 @@ rm -f ${cwd}/build/accurate/yyy run_bconsole check_for_zombie_jobs storage=File -jobid=$(awk '/ Incr.+backup/ { jobid=$1 } END { print jobid }' ${cwd}/tmp/log3.out) +jobid=`awk '/ Incr.+backup/ { jobid=$1 } END { print jobid }' ${cwd}/tmp/log3.out` cat <${cwd}/tmp/bconcmds @$out ${cwd}/tmp/log3.out @@ -310,8 +310,8 @@ END_OF_DATA run_bconsole -if ! grep yyy ${cwd}/tmp/log3.out > /dev/null -then +grep yyy ${cwd}/tmp/log3.out > /dev/null +if [ $? != 0 ] ; then bstat=2 fi -- 2.39.5