diff --git a/test/bugfixes-test.sh b/test/bugfixes-test.sh index 77ff71b4..a527fb8b 100755 --- a/test/bugfixes-test.sh +++ b/test/bugfixes-test.sh @@ -211,6 +211,7 @@ source ./functions.source num=812 # updating a hardlinked file can "empty" the other files! printf "$num " >&3 + echo '------>' Bug $num '<-------' >&2 copyTestFile exiv2-bug884c.jpg bug$num.jpg hardLinkFiles bug$num.jpg bug$num-B.jpg bug$num-C.jpg runTest exiv2 -u -v -M"set Exif.Photo.UserComment Test Bug $num" bug$num.jpg diff --git a/test/data/bugfixes-test.out b/test/data/bugfixes-test.out index 6799821d..7a035596 100644 Binary files a/test/data/bugfixes-test.out and b/test/data/bugfixes-test.out differ diff --git a/test/functions.source b/test/functions.source index 4c75fabe..4b9549e3 100644 --- a/test/functions.source +++ b/test/functions.source @@ -355,7 +355,7 @@ hardLinkFiles() target="$1" shift for var; do - if [ -e var ]; then rm -rf $var ; fi + if [ -e $var ]; then rm -rf $var ; fi ln $target $var done }