summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/tagupl10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/tests/tagupl b/tests/tests/tagupl
index d604413..0d72d3c 100755
--- a/tests/tests/tagupl
+++ b/tests/tests/tagupl
@@ -46,8 +46,16 @@ perl -i -ne '
print or die $!;
' ../basetag
+mv-ident () {
+ local f=$tmp/$1
+ if test -e $f; then
+ mv $f $f--$ident
+ fi
+}
+
next-mangle () {
- mv ../tagupl/overall.log ../tagupl/overall.log-$ident
+ mv-ident tagupl/overall.log
+ mv-ident sendmail.log
ident=$1
}