]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix multiple regression env pb
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 27 Jan 2009 16:42:19 +0000 (16:42 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 27 Jan 2009 16:42:19 +0000 (16:42 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8404 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/regexwhere-test

index da4412df6c25d05aa48e6a7f0a200103486e7eef..5d6ffc488481af07a124a92c6ac473a251bea69b 100755 (executable)
@@ -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 && \