From 94a265fbe0ee9889e662353d6520dd9bc82bfe8a Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 27 Jan 2009 16:42:19 +0000 Subject: [PATCH] ebl fix multiple regression env pb git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8404 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/regexwhere-test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/regress/tests/regexwhere-test b/regress/tests/regexwhere-test index da4412df6c..5d6ffc4884 100755 --- a/regress/tests/regexwhere-test +++ b/regress/tests/regexwhere-test @@ -102,7 +102,7 @@ wait messages @################################## @$out tmp/RUN_JobG -restore strip_prefix="${cwd}" add_prefix="/tmp/bacula-restore" +restore strip_prefix="${cwd}" add_prefix="/tmp/bacula-restore.$$" 5 cd ${cwd}/build/po m *.po @@ -248,7 +248,7 @@ fi J=JobG grep "Restore OK" tmp/RUN_$J > /dev/null && \ -grep "tmp/bacula-restore/build/po/fr.po" tmp/RUN_$J > /dev/null +grep "tmp/bacula-restore.$$/build/po/fr.po" tmp/RUN_$J > /dev/null if [ $? = 0 ] then [ "$debug" = 1 ] && echo $J ok @@ -256,6 +256,7 @@ else echo "$J in error" rstat=1 fi +rm -rf /tmp/bacula-restore.$$ J=JobH grep "Restore OK" tmp/RUN_$J > /dev/null && \ -- 2.39.5