mirror of https://github.com/dspinellis/UMLGraph
Update reference data test update for git
This commit is contained in:
parent
b23a483c1e
commit
abeb6c22e0
|
|
@ -10,12 +10,12 @@
|
||||||
|
|
||||||
for i in dot umldoc
|
for i in dot umldoc
|
||||||
do
|
do
|
||||||
find testdata/$i-ref -type f |
|
git ls-files testdata/*-ref |
|
||||||
grep -v CVS |
|
|
||||||
sed "s/\(testdata\/$i-\)ref\(.*\)/\1ref\2 \1out\2/" |
|
sed "s/\(testdata\/$i-\)ref\(.*\)/\1ref\2 \1out\2/" |
|
||||||
while read refname outname
|
while read refname outname
|
||||||
do
|
do
|
||||||
if ! cmp -s $refname $outname
|
if [ -r "$outname" -a -r "$outname" ] && \
|
||||||
|
! cmp -s $refname $outname
|
||||||
then
|
then
|
||||||
cp $outname $refname
|
cp $outname $refname
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue