[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:36:46 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=26b45e5

The following commit has been merged in the master branch:
commit 26b45e5fce17b1af6791e9c7692230d5d6960c90
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Mon Nov 29 15:01:30 2004 +0000

    Added addmoddel test driver and expected output
---
 test/{write2-test.sh => addmoddel.sh} |  9 +++++----
 test/data/addmoddel.out               | 12 ++++++++++++
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/test/write2-test.sh b/test/addmoddel.sh
similarity index 54%
copy from test/write2-test.sh
copy to test/addmoddel.sh
index 0565920..7f9188f 100755
--- a/test/write2-test.sh
+++ b/test/addmoddel.sh
@@ -1,12 +1,13 @@
 #! /bin/sh
-# Test driver for write unit tests to build Exif metadata from scratch
-results="./tmp/write2-test.out"
-good="./data/write2-test.out"
+# Test driver to run the addmoddel sample program
+results="./tmp/addmoddel.out"
+good="./data/addmoddel.out"
 (
 binpath="../../src"
 cp -f ./data/exiv2-empty.jpg ./tmp
 cd ./tmp
-$binpath/write2-test exiv2-empty.jpg
+$binpath/addmoddel exiv2-empty.jpg
+$binpath/exiv2 -pv exiv2-empty.jpg
 ) > $results
 
 diff -q $results $good
diff --git a/test/data/addmoddel.out b/test/data/addmoddel.out
new file mode 100644
index 0000000..8ecad6a
--- /dev/null
+++ b/test/data/addmoddel.out
@@ -0,0 +1,12 @@
+Added a few tags the quick way.
+Added key "Exif.Photo.DateTimeOriginal", value "1999:12:31 23:59:59"
+Added key "Exif.Image.PrimaryChromaticities", value "1/2 1/3 2/3 3/4"
+Modified key "Exif.Image.PrimaryChromaticities", new value "2000:12:31 23:59:59"
+Modified key "Exif.Image.PrimaryChromaticities", new value "1/2 1/3 88/77 3/4"
+Deleted key "Exif.Image.PrimaryChromaticities"
+0x0110 IFD0      Ascii       7 Model                       Test 1
+0x0115 IFD0      Short       1 SamplesPerPixel             162
+0x011a IFD0      SLong       1 XResolution                 -2
+0x011b IFD0      SRational   1 YResolution                 -2/3
+0x8769 IFD0      Long        1 ExifTag                     89
+0x9003 Exif      Ascii      20 DateTimeOriginal            2000:12:31 23:59:59

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list