]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Add test for #897
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 29 Dec 2007 20:00:19 +0000 (20:00 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 29 Dec 2007 20:00:19 +0000 (20:00 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6160 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/runscript-test

index 571adf2810a9d91da59fcfcd3577f162261f83bc..f4c3658e3994a10974bd48e6fa37956df939818c 100755 (executable)
@@ -97,8 +97,7 @@ grep 'ClientBeforeJob: run command "/bin/false RUN_FD_FAILED2"' ${cwd}/tmp/RUN_F
 b=$?
 grep 'AfterJob: run command "/bin/echo RunAfterFailedJob"' ${cwd}/tmp/RUN_FD_FAILED.log >/dev/null 2>&1
 c=$?
-#grep 'touching' ${cwd}/tmp/RUN_FD_FAILED.log >/dev/null 2>&1
-test -f ${cwd}/tmp/RUN_FD_FAILED
+grep 'touching' ${cwd}/tmp/RUN_FD_FAILED.log >/dev/null 2>&1
 d=$?
 grep '*** Backup Error ***' ${cwd}/tmp/RUN_FD_FAILED.log >/dev/null 2>&1
 e=$?