Update reference data test update for git

This commit is contained in:
Diomidis Spinellis 2014-10-28 20:07:01 +02:00
parent b23a483c1e
commit abeb6c22e0
1 changed files with 3 additions and 3 deletions

View File

@ -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