From e9e3386f720a5935a4966f072c2e17bba999880c Mon Sep 17 00:00:00 2001 From: vog Date: Wed, 22 Jun 2011 12:55:58 +0000 Subject: [PATCH] #689: Improved eps-test driver --- test/data/eps/eps-test.out | 370 ++++++++++++++++++------------------- test/eps-test.sh | 10 +- 2 files changed, 190 insertions(+), 190 deletions(-) diff --git a/test/data/eps/eps-test.out b/test/data/eps/eps-test.out index 72b01014..6d8830e7 100644 --- a/test/data/eps/eps-test.out +++ b/test/data/eps/eps-test.out @@ -1,12 +1,12 @@ -----> eps-flat_empty-eof-noeol.eps <----- -Command: exiv2 -u -pp eps-flat_empty-eof-noeol.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_empty-eof-noeol.eps +Command: exiv2 -u -pa eps-flat_empty-eof-noeol.eps Exit code: 253 +Command: exiv2 -pp eps-flat_empty-eof-noeol.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_empty-eof-noeol.eps Exit code: 0 @@ -21,12 +21,12 @@ Exit code: 0 -----> eps-flat_empty-eof.eps <----- -Command: exiv2 -u -pp eps-flat_empty-eof.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_empty-eof.eps +Command: exiv2 -u -pa eps-flat_empty-eof.eps Exit code: 253 +Command: exiv2 -pp eps-flat_empty-eof.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_empty-eof.eps Exit code: 0 @@ -41,12 +41,12 @@ Exit code: 0 -----> eps-flat_empty-noeol.eps <----- -Command: exiv2 -u -pp eps-flat_empty-noeol.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_empty-noeol.eps +Command: exiv2 -u -pa eps-flat_empty-noeol.eps Exit code: 253 +Command: exiv2 -pp eps-flat_empty-noeol.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_empty-noeol.eps Exit code: 0 @@ -61,13 +61,13 @@ Exit code: 0 -----> eps-flat_empty-xmp.eps <----- -Command: exiv2 -u -pp eps-flat_empty-xmp.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_empty-xmp.eps +Command: exiv2 -u -pa eps-flat_empty-xmp.eps Xmp.test.test XmpText 4 TEST Exit code: 253 +Command: exiv2 -pp eps-flat_empty-xmp.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_empty-xmp.eps Exit code: 0 @@ -82,12 +82,12 @@ Exit code: 0 -----> eps-flat_empty.eps <----- -Command: exiv2 -u -pp eps-flat_empty.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_empty.eps +Command: exiv2 -u -pa eps-flat_empty.eps Exit code: 253 +Command: exiv2 -pp eps-flat_empty.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_empty.eps Exit code: 0 @@ -102,19 +102,19 @@ Exit code: 0 -----> eps-flat_inkscape-epsi.eps <----- -Command: exiv2 -u -pp eps-flat_inkscape-epsi.eps +Command: exiv2 -u -pa eps-flat_inkscape-epsi.eps Exiv2 exception in print action for file eps-flat_inkscape-epsi.eps: eps-flat_inkscape-epsi.eps: The file contains data of an unknown image type Exit code: 1 -----> eps-flat_inkscape.eps <----- -Command: exiv2 -u -pp eps-flat_inkscape.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_inkscape.eps +Command: exiv2 -u -pa eps-flat_inkscape.eps Exit code: 253 +Command: exiv2 -pp eps-flat_inkscape.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_inkscape.eps Exit code: 0 @@ -129,12 +129,12 @@ Exit code: 0 -----> eps-flat_minimal-eof.eps <----- -Command: exiv2 -u -pp eps-flat_minimal-eof.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal-eof.eps +Command: exiv2 -u -pa eps-flat_minimal-eof.eps Exit code: 253 +Command: exiv2 -pp eps-flat_minimal-eof.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal-eof.eps Exit code: 0 @@ -149,12 +149,12 @@ Exit code: 0 -----> eps-flat_minimal-noeol.eps <----- -Command: exiv2 -u -pp eps-flat_minimal-noeol.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal-noeol.eps +Command: exiv2 -u -pa eps-flat_minimal-noeol.eps Exit code: 253 +Command: exiv2 -pp eps-flat_minimal-noeol.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal-noeol.eps Exit code: 0 @@ -169,12 +169,12 @@ Exit code: 0 -----> eps-flat_minimal.eps <----- -Command: exiv2 -u -pp eps-flat_minimal.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal.eps +Command: exiv2 -u -pa eps-flat_minimal.eps Exit code: 253 +Command: exiv2 -pp eps-flat_minimal.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal.eps Exit code: 0 @@ -189,13 +189,13 @@ Exit code: 0 -----> eps-flat_minimal_exiftool-8.56.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_exiftool-8.56.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_exiftool-8.56.eps +Command: exiv2 -u -pa eps-flat_minimal_exiftool-8.56.eps Xmp.dc.title LangAlt 1 lang="x-default" TEST-Exiftool Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_exiftool-8.56.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_exiftool-8.56.eps Exit code: 0 @@ -210,7 +210,7 @@ Exit code: 0 -----> eps-flat_minimal_xmp-readonly.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp-readonly.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp-readonly.eps Warning: Unable to handle read-only XMP metadata yet. Please provide your sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2 Exiv2 exception in print action for file eps-flat_minimal_xmp-readonly.eps: Failed to read image data @@ -218,13 +218,13 @@ Exit code: 1 -----> eps-flat_minimal_xmp-singlequote-begin.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp-singlequote-begin.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_xmp-singlequote-begin.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp-singlequote-begin.eps Xmp.test.test XmpText 4 TEST Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_xmp-singlequote-begin.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_xmp-singlequote-begin.eps Exit code: 0 @@ -239,13 +239,13 @@ Exit code: 0 -----> eps-flat_minimal_xmp-singlequote-end.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp-singlequote-end.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_xmp-singlequote-end.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp-singlequote-end.eps Xmp.test.test XmpText 4 TEST Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_xmp-singlequote-end.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_xmp-singlequote-end.eps Exit code: 0 @@ -260,13 +260,13 @@ Exit code: 0 -----> eps-flat_minimal_xmp-singlequote-id.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp-singlequote-id.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_xmp-singlequote-id.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp-singlequote-id.eps Xmp.test.test XmpText 4 TEST Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_xmp-singlequote-id.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_xmp-singlequote-id.eps Exit code: 0 @@ -281,13 +281,13 @@ Exit code: 0 -----> eps-flat_minimal_xmp.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_xmp.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp.eps Xmp.test.test XmpText 4 TEST Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_xmp.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_xmp.eps Exit code: 0 @@ -302,7 +302,7 @@ Exit code: 0 -----> eps-flat_minimal_xmp_exiftool-8.56.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp_exiftool-8.56.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp_exiftool-8.56.eps Warning: Page at position 3906 conflicts with implicit page at position: 182 Exiv2 exception in print action for file eps-flat_minimal_xmp_exiftool-8.56.eps: Failed to read image data @@ -310,15 +310,15 @@ Exit code: 1 -----> eps-flat_minimal_xmp_exiftool-8.56_fixed.eps <----- -Command: exiv2 -u -pp eps-flat_minimal_xmp_exiftool-8.56_fixed.eps -Warning: Second XMP metadata block interferes at position: 849 -Exit code: 0 - -Command: exiv2 -pa eps-flat_minimal_xmp_exiftool-8.56_fixed.eps +Command: exiv2 -u -pa eps-flat_minimal_xmp_exiftool-8.56_fixed.eps Warning: Second XMP metadata block interferes at position: 849 Xmp.dc.title LangAlt 1 lang="x-default" TEST-Exiftool Exit code: 253 +Command: exiv2 -pp eps-flat_minimal_xmp_exiftool-8.56_fixed.eps +Warning: Second XMP metadata block interferes at position: 849 +Exit code: 0 + Command: exiv2 -f -eX eps-flat_minimal_xmp_exiftool-8.56_fixed.eps Warning: Second XMP metadata block interferes at position: 849 Exit code: 0 @@ -331,12 +331,12 @@ Exit code: 1 -----> eps-flat_oodraw-lev1.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw-lev1.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw-lev1.eps +Command: exiv2 -u -pa eps-flat_oodraw-lev1.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw-lev1.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw-lev1.eps Exit code: 0 @@ -351,12 +351,12 @@ Exit code: 0 -----> eps-flat_oodraw-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw-lev2.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw-lev2.eps Exit code: 0 @@ -371,12 +371,12 @@ Exit code: 0 -----> eps-flat_oodraw-lev2_eps2eps.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw-lev2_eps2eps.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw-lev2_eps2eps.eps +Command: exiv2 -u -pa eps-flat_oodraw-lev2_eps2eps.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw-lev2_eps2eps.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw-lev2_eps2eps.eps Exit code: 0 @@ -391,10 +391,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-10-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-10-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-10-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-10-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:12:06+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:12:06+01:00 @@ -531,6 +528,9 @@ Xmp.xmpMM.History[8]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[8]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-10-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-10-lev2.eps Exit code: 0 @@ -545,12 +545,12 @@ Exit code: 0 -----> eps-flat_oodraw_ai-3-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-3-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-3-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-3-lev2.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-3-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-3-lev2.eps Exit code: 0 @@ -565,12 +565,12 @@ Exit code: 0 -----> eps-flat_oodraw_ai-3-lev3.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-3-lev3.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-3-lev3.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-3-lev3.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-3-lev3.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-3-lev3.eps Exit code: 0 @@ -585,10 +585,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-8-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-8-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-8-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-8-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:12:46+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:12:46+01:00 @@ -737,6 +734,9 @@ Xmp.xmpMM.History[10]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[10]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-8-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-8-lev2.eps Exit code: 0 @@ -751,12 +751,12 @@ Exit code: 0 -----> eps-flat_oodraw_ai-8-lev3.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-8-lev3.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-8-lev3.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-8-lev3.eps Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-8-lev3.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-8-lev3.eps Exit code: 0 @@ -771,10 +771,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-9-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-9-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-9-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-9-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:12:25+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:12:25+01:00 @@ -917,6 +914,9 @@ Xmp.xmpMM.History[9]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[9]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-9-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-9-lev2.eps Exit code: 0 @@ -931,10 +931,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:11:44+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:11:44+01:00 @@ -1065,6 +1062,9 @@ Xmp.xmpMM.History[7]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[7]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs-lev2.eps Exit code: 0 @@ -1079,10 +1079,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs2-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs2-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs2-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs2-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:11:25+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:11:25+01:00 @@ -1207,6 +1204,9 @@ Xmp.xmpMM.History[6]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[6]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs2-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs2-lev2.eps Exit code: 0 @@ -1221,10 +1221,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs3-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs3-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs3-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs3-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:11:03+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:11:03+01:00 @@ -1343,6 +1340,9 @@ Xmp.xmpMM.History[5]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[5]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs3-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs3-lev2.eps Exit code: 0 @@ -1357,10 +1357,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs4-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs4-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs4-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs4-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:10:28+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:10:28+01:00 @@ -1473,6 +1470,9 @@ Xmp.xmpMM.History[4]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[4]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs4-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs4-lev2.eps Exit code: 0 @@ -1487,10 +1487,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs5-lev2.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs5-lev2.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs5-lev2.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs5-lev2.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:06:32+01:00 Xmp.xmp.Thumbnails XmpText 0 type="Alt" @@ -1569,6 +1566,9 @@ Xmp.xmpTPg.SwatchGroups[1]/xmpG:groupType XmpText 1 0 Xmp.dc.format XmpText 22 application/postscript Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs5-lev2.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs5-lev2.eps Exit code: 0 @@ -1583,10 +1583,7 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 25 2011-03-25T16:07:33+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T16:07:33+01:00 @@ -1687,6 +1684,9 @@ Xmp.xmpMM.History[2]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[2]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs5-lev3-nodocthumb.eps Exit code: 0 @@ -1701,17 +1701,14 @@ Exit code: 0 -----> eps-flat_oodraw_ai-cs5-lev3-preview.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs5-lev3-preview.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs5-lev3-preview.eps Exiv2 exception in print action for file eps-flat_oodraw_ai-cs5-lev3-preview.eps: This does not look like a EPS image Exit code: 1 -----> eps-flat_oodraw_ai-cs5-lev3.eps <----- -Command: exiv2 -u -pp eps-flat_oodraw_ai-cs5-lev3.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_oodraw_ai-cs5-lev3.eps +Command: exiv2 -u -pa eps-flat_oodraw_ai-cs5-lev3.eps Xmp.xmp.CreatorTool XmpText 21 Adobe Illustrator CS5 Xmp.xmp.CreateDate XmpText 22 2011-03-25T16:07+01:00 Xmp.xmp.Thumbnails XmpText 0 type="Alt" @@ -1803,6 +1800,9 @@ Xmp.xmpMM.History[1]/stEvt:softwareAgent XmpText 21 Adobe Illustrator CS Xmp.xmpMM.History[1]/stEvt:changed XmpText 1 / Exit code: 253 +Command: exiv2 -pp eps-flat_oodraw_ai-cs5-lev3.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_oodraw_ai-cs5-lev3.eps Exit code: 0 @@ -1817,10 +1817,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii-colorprofile.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii-colorprofile.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-ascii-colorprofile.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii-colorprofile.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:24:28+01:00 @@ -1851,6 +1848,9 @@ Xmp.photoshop.ColorMode XmpText 1 3 Xmp.photoshop.ICCProfile XmpText 17 sRGB IEC61966-2.1 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-ascii-colorprofile.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-ascii-colorprofile.eps Exit code: 0 @@ -1865,10 +1865,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii-preview.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii-preview.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-ascii-preview.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii-preview.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:25:23+01:00 @@ -1922,6 +1919,9 @@ Xmp.xmpMM.History[7]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-ascii-preview.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-ascii-preview.eps Exit code: 0 @@ -1936,10 +1936,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-ascii.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:25:06+01:00 @@ -1981,6 +1978,9 @@ Xmp.xmpMM.History[5]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-ascii.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-ascii.eps Exit code: 0 @@ -1995,10 +1995,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii85-preview.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii85-preview.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-ascii85-preview.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii85-preview.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:27:02+01:00 @@ -2100,6 +2097,9 @@ Xmp.xmpMM.History[15]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-ascii85-preview.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-ascii85-preview.eps Exit code: 0 @@ -2114,10 +2114,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii85.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii85.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-ascii85.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii85.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:26:51+01:00 @@ -2207,6 +2204,9 @@ Xmp.xmpMM.History[13]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-ascii85.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-ascii85.eps Exit code: 0 @@ -2221,7 +2221,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-ascii_failure-bigxmp.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-ascii_failure-bigxmp.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-ascii_failure-bigxmp.eps Warning: Unable to find XMP metadata as announced at position: 291 Exiv2 exception in print action for file eps-flat_photoshop-cs5-ascii_failure-bigxmp.eps: Failed to read image data @@ -2229,10 +2229,7 @@ Exit code: 1 -----> eps-flat_photoshop-cs5-binary-preview.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-binary-preview.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-binary-preview.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-binary-preview.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:26:30+01:00 @@ -2310,6 +2307,9 @@ Xmp.xmpMM.History[11]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-binary-preview.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-binary-preview.eps Exit code: 0 @@ -2324,10 +2324,7 @@ Exit code: 0 -----> eps-flat_photoshop-cs5-binary.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-cs5-binary.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-cs5-binary.eps +Command: exiv2 -u -pa eps-flat_photoshop-cs5-binary.eps Xmp.xmp.CreatorTool XmpText 29 Adobe Photoshop CS5 Macintosh Xmp.xmp.CreateDate XmpText 25 2011-03-25T17:23:38+01:00 Xmp.xmp.MetadataDate XmpText 25 2011-03-25T17:25:57+01:00 @@ -2393,6 +2390,9 @@ Xmp.xmpMM.History[9]/stEvt:changed XmpText 1 / Xmp.photoshop.ColorMode XmpText 1 3 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-cs5-binary.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-cs5-binary.eps Exit code: 0 @@ -2407,17 +2407,14 @@ Exit code: 0 -----> eps-flat_photoshop-e9-win-doseps.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-e9-win-doseps.eps +Command: exiv2 -u -pa eps-flat_photoshop-e9-win-doseps.eps Exiv2 exception in print action for file eps-flat_photoshop-e9-win-doseps.eps: This does not look like a EPS image Exit code: 1 -----> eps-flat_photoshop-e9-win.eps <----- -Command: exiv2 -u -pp eps-flat_photoshop-e9-win.eps -Exit code: 0 - -Command: exiv2 -pa eps-flat_photoshop-e9-win.eps +Command: exiv2 -u -pa eps-flat_photoshop-e9-win.eps Xmp.xmp.CreatorTool XmpText 36 Adobe Photoshop Elements 9.0 Windows Xmp.xmp.MetadataDate XmpText 25 2011-06-15T17:26:37+02:00 Xmp.xmp.ModifyDate XmpText 25 2011-06-15T17:26:37+02:00 @@ -2451,6 +2448,9 @@ Xmp.photoshop.ColorMode XmpText 1 3 Xmp.photoshop.ICCProfile XmpText 17 sRGB IEC61966-2.1 Exit code: 253 +Command: exiv2 -pp eps-flat_photoshop-e9-win.eps +Exit code: 0 + Command: exiv2 -f -eX eps-flat_photoshop-e9-win.eps Exit code: 0 @@ -2465,7 +2465,7 @@ Exit code: 0 -----> eps-nested_minimal_includedocument.eps <----- -Command: exiv2 -u -pp eps-nested_minimal_includedocument.eps +Command: exiv2 -u -pa eps-nested_minimal_includedocument.eps Warning: Unable to handle PostScript %%Include DSC comments yet. Please provide your sample EPS file to the Exiv2 project: http://dev.exiv2.org/projects/exiv2 Exiv2 exception in print action for file eps-nested_minimal_includedocument.eps: Failed to read image data @@ -2473,7 +2473,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-3-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-3-lev2.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-3-lev2.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 9908 Exiv2 exception in print action for file eps-nested_noxmp_ai-3-lev2.eps: Failed to read image data @@ -2481,7 +2481,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-3-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-3-lev3.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-3-lev3.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 9908 Exiv2 exception in print action for file eps-nested_noxmp_ai-3-lev3.eps: Failed to read image data @@ -2489,7 +2489,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-8-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-8-lev2.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-8-lev2.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 51363 Exiv2 exception in print action for file eps-nested_noxmp_ai-8-lev2.eps: Failed to read image data @@ -2497,7 +2497,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-8-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-8-lev3.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-8-lev3.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 51363 Exiv2 exception in print action for file eps-nested_noxmp_ai-8-lev3.eps: Failed to read image data @@ -2505,7 +2505,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-cs5-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-cs5-lev2.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-cs5-lev2.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 199781 Exiv2 exception in print action for file eps-nested_noxmp_ai-cs5-lev2.eps: Failed to read image data @@ -2513,7 +2513,7 @@ Exit code: 1 -----> eps-nested_noxmp_ai-cs5-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_ai-cs5-lev3.eps +Command: exiv2 -u -pa eps-nested_noxmp_ai-cs5-lev3.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 199367 Exiv2 exception in print action for file eps-nested_noxmp_ai-cs5-lev3.eps: Failed to read image data @@ -2521,35 +2521,35 @@ Exit code: 1 -----> eps-nested_noxmp_indesign-cs5-lev2-bin.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_indesign-cs5-lev2-bin.eps +Command: exiv2 -u -pa eps-nested_noxmp_indesign-cs5-lev2-bin.eps Exiv2 exception in print action for file eps-nested_noxmp_indesign-cs5-lev2-bin.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_noxmp_indesign-cs5-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_indesign-cs5-lev2.eps +Command: exiv2 -u -pa eps-nested_noxmp_indesign-cs5-lev2.eps Exiv2 exception in print action for file eps-nested_noxmp_indesign-cs5-lev2.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_noxmp_indesign-cs5-lev3-bin.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_indesign-cs5-lev3-bin.eps +Command: exiv2 -u -pa eps-nested_noxmp_indesign-cs5-lev3-bin.eps Exiv2 exception in print action for file eps-nested_noxmp_indesign-cs5-lev3-bin.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_noxmp_indesign-cs5-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_indesign-cs5-lev3.eps +Command: exiv2 -u -pa eps-nested_noxmp_indesign-cs5-lev3.eps Exiv2 exception in print action for file eps-nested_noxmp_indesign-cs5-lev3.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_noxmp_oodraw-lev2-epsi.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_oodraw-lev2-epsi.eps +Command: exiv2 -u -pa eps-nested_noxmp_oodraw-lev2-epsi.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 111882 Exiv2 exception in print action for file eps-nested_noxmp_oodraw-lev2-epsi.eps: Failed to read image data @@ -2557,14 +2557,14 @@ Exit code: 1 -----> eps-nested_noxmp_oodraw-lev2-preview.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_oodraw-lev2-preview.eps +Command: exiv2 -u -pa eps-nested_noxmp_oodraw-lev2-preview.eps Exiv2 exception in print action for file eps-nested_noxmp_oodraw-lev2-preview.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_noxmp_oodraw-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_noxmp_oodraw-lev2.eps +Command: exiv2 -u -pa eps-nested_noxmp_oodraw-lev2.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 1937 Exiv2 exception in print action for file eps-nested_noxmp_oodraw-lev2.eps: Failed to read image data @@ -2572,42 +2572,42 @@ Exit code: 1 -----> eps-nested_xmp_ai-3-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_ai-3-lev3.eps +Command: exiv2 -u -pa eps-nested_xmp_ai-3-lev3.eps Exiv2 exception in print action for file eps-nested_xmp_ai-3-lev3.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_ai-8-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_ai-8-lev3.eps +Command: exiv2 -u -pa eps-nested_xmp_ai-8-lev3.eps Exiv2 exception in print action for file eps-nested_xmp_ai-8-lev3.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_ai-cs5-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_ai-cs5-lev3.eps +Command: exiv2 -u -pa eps-nested_xmp_ai-cs5-lev3.eps Exiv2 exception in print action for file eps-nested_xmp_ai-cs5-lev3.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_indesign-cs5-lev3-bin.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_indesign-cs5-lev3-bin.eps +Command: exiv2 -u -pa eps-nested_xmp_indesign-cs5-lev3-bin.eps Exiv2 exception in print action for file eps-nested_xmp_indesign-cs5-lev3-bin.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_indesign-cs5-lev3.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_indesign-cs5-lev3.eps +Command: exiv2 -u -pa eps-nested_xmp_indesign-cs5-lev3.eps Exiv2 exception in print action for file eps-nested_xmp_indesign-cs5-lev3.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_oodraw-lev2-epsi.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_oodraw-lev2-epsi.eps +Command: exiv2 -u -pa eps-nested_xmp_oodraw-lev2-epsi.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 111804 Exiv2 exception in print action for file eps-nested_xmp_oodraw-lev2-epsi.eps: Failed to read image data @@ -2615,14 +2615,14 @@ Exit code: 1 -----> eps-nested_xmp_oodraw-lev2-preview.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_oodraw-lev2-preview.eps +Command: exiv2 -u -pa eps-nested_xmp_oodraw-lev2-preview.eps Exiv2 exception in print action for file eps-nested_xmp_oodraw-lev2-preview.eps: This does not look like a EPS image Exit code: 1 -----> eps-nested_xmp_oodraw-lev2.eps <----- -Command: exiv2 -u -pp eps-nested_xmp_oodraw-lev2.eps +Command: exiv2 -u -pa eps-nested_xmp_oodraw-lev2.eps Warning: Embedded documents are currently not supported. Found embedded document at position: 1859 Exiv2 exception in print action for file eps-nested_xmp_oodraw-lev2.eps: Failed to read image data diff --git a/test/eps-test.sh b/test/eps-test.sh index 6e181522..8c657e60 100755 --- a/test/eps-test.sh +++ b/test/eps-test.sh @@ -37,18 +37,18 @@ done cp "../data/eps/$image.eps" ./ echo - echo "Command: exiv2 -u -pp $image.eps" - $exiv2 -u -pp "$image.eps" + echo "Command: exiv2 -u -pa $image.eps" + $exiv2 -u -pa "$image.eps" exitcode="$?" echo "Exit code: $exitcode" - if [ "$exitcode" -ne 0 ] ; then + if [ "$exitcode" -ne 0 -a "$exitcode" -ne 253 ] ; then continue fi echo - echo "Command: exiv2 -pa $image.eps" - $exiv2 -pa "$image.eps" + echo "Command: exiv2 -pp $image.eps" + $exiv2 -pp "$image.eps" echo "Exit code: $?" echo