From 6f7095c529c13e652324fa00aebb75cbe6befe54 Mon Sep 17 00:00:00 2001 From: nkbj Date: Thu, 26 Mar 2015 07:09:54 +0000 Subject: [PATCH] Fix typo in r3633 and update bugfixes-test.out accordingly. --- test/bugfixes-test.sh | 1 + test/data/bugfixes-test.out | Bin 134917 -> 134882 bytes test/functions.source | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) 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 6799821d488ea739daae61ab2c7daab3927027a0..7a035596128a31c417ead31ba6275c506b2fa8e0 100644 GIT binary patch delta 35 rcmZpj$MI+`N5dAzhGosS2qTnZ+f=Tu8Fc7_!s< OEoZdber*{ePX++EgB^hY 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 }