chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27bb9f8
)
test suite: tagupl: Break out and soup up log moving
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 6 Jul 2019 17:04:05 +0000
(18:04 +0100)
committer
Sean Whitton
<spwhitton@spwhitton.name>
Sun, 7 Jul 2019 08:54:19 +0000
(09:54 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/tagupl
patch
|
blob
|
history
diff --git
a/tests/tests/tagupl
b/tests/tests/tagupl
index d6044133110c236fb67327206b08efe1c07db8c5..0d72d3cda1a316caf5bd29c0df7028d5b717e9e7 100755
(executable)
--- 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
}