[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: adapt test to avoid dates interfering (13e40e9)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jul 3 00:55:45 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/13e40e9060cdd34486ea1577b0a80395059b158d

>---------------------------------------------------------------

commit 13e40e9060cdd34486ea1577b0a80395059b158d
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jul 3 00:55:45 2020 +0200

    adapt test to avoid dates interfering


>---------------------------------------------------------------

13e40e9060cdd34486ea1577b0a80395059b158d
 testfiles-dvips/embedfile.pvt  |  2 ++
 testfiles/embedfile.luatex.tpf | 80 +++++++++++++++++++++---------------------
 testfiles/embedfile.pvt        |  2 ++
 3 files changed, 44 insertions(+), 40 deletions(-)

diff --git a/testfiles-dvips/embedfile.pvt b/testfiles-dvips/embedfile.pvt
index 979f5ec..89bd31b 100644
--- a/testfiles-dvips/embedfile.pvt
+++ b/testfiles-dvips/embedfile.pvt
@@ -26,6 +26,7 @@ grüße
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Source}
 \pdftool_textstringlit_print:nN {this~is~something~odd~with~öäü}\l_tmpa_str
 \pdfdict_put:nnx  {file/FileSpec} {Desc}{\l_tmpa_str}
+\pdfdict_put:nnx  {file/Params} {ModDate}{(D:20200422135851Z)}
 \pdffile_embed_file:nnn {testinput.txt}{grüße.txt}{example1}
 \group_end:
 
@@ -41,6 +42,7 @@ grüße
 \group_begin:
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Source}
 \pdfdict_put:nnn  {file/FileSpec} {Desc}{(this~is~a~eps)}
+\pdfdict_put:nnx  {file/Params} {ModDate}{(D:20200422135851Z)} %for test
 \pdffile_embed_file:nnn {testinput.txt}{Some~txt~file}{example3}
 
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Data}
diff --git a/testfiles/embedfile.luatex.tpf b/testfiles/embedfile.luatex.tpf
index 18a1c1e..057dacc 100644
--- a/testfiles/embedfile.luatex.tpf
+++ b/testfiles/embedfile.luatex.tpf
@@ -1,7 +1,7 @@
 %PDF-1.6
 %ÌÕÁÔÅØÐÄÆ
 6 0 obj
-<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20200422155851+02'00') /Size 5 /CheckSum (C13B6AFECF97EA6B38D21A8F5167FA1E) >> /Length 5 >>          
+<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20200422135851Z) /Size 5 /CheckSum (C13B6AFECF97EA6B38D21A8F5167FA1E) >> /Length 5 >>          
 stream
 abc
 endstream
@@ -23,7 +23,7 @@ endobj
 << /Type /FileSpec /AFRelationship /Source /Desc (\376\377\000t\000h\000i\000s\000\040\000i\000s\000\040\000s\000o\000m\000e\000t\000h\000i\000n\000g\000\040\000o\000d\000d\000\040\000w\000i\000t\000h\000\040\000\366\000\344\000\374) /F <FEFF006500630068007400650067007200FC00DF0065002E007400780074> /UF <FEFF006500630068007400650067007200FC00DF0065002E007400780074> /EF<</F 8 0 R/UF 8 0 R>> >>
 endobj
 10 0 obj
-<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20200422155851+02'00') /Size 5 /CheckSum (C13B6AFECF97EA6B38D21A8F5167FA1E) >> /Length 5 >>          
+<< /Subtype /text#2Fplain/Type /EmbeddedFile /Params<</ModDate (D:20200422135851Z) /Size 5 /CheckSum (C13B6AFECF97EA6B38D21A8F5167FA1E) >> /Length 5 >>          
 stream
 abc
 endstream
@@ -230,46 +230,46 @@ xref
 0000000003 00000 f 
 0000000004 00000 f 
 0000000000 00000 f 
-0000002450 00000 n 
+0000002438 00000 n 
 0000000020 00000 n 
-0000000226 00000 n 
-0000000596 00000 n 
-0000000929 00000 n 
-0000001339 00000 n 
-0000001546 00000 n 
-0000001782 00000 n 
-0000001876 00000 n 
-0000002748 00000 n 
-0000002100 00000 n 
-0000002566 00000 n 
-0000002626 00000 n 
-0000002687 00000 n 
-0000009220 00000 n 
-0000004949 00000 n 
-0000009568 00000 n 
-0000002830 00000 n 
-0000002930 00000 n 
-0000009703 00000 n 
-0000002976 00000 n 
-0000003201 00000 n 
-0000003961 00000 n 
-0000003232 00000 n 
-0000003303 00000 n 
-0000004197 00000 n 
-0000005103 00000 n 
-0000005303 00000 n 
-0000008034 00000 n 
-0000005494 00000 n 
-0000005570 00000 n 
-0000008268 00000 n 
-0000009371 00000 n 
-0000009629 00000 n 
-0000009764 00000 n 
-0000009887 00000 n 
-0000009945 00000 n 
-0000010109 00000 n 
+0000000220 00000 n 
+0000000590 00000 n 
+0000000923 00000 n 
+0000001333 00000 n 
+0000001534 00000 n 
+0000001770 00000 n 
+0000001864 00000 n 
+0000002736 00000 n 
+0000002088 00000 n 
+0000002554 00000 n 
+0000002614 00000 n 
+0000002675 00000 n 
+0000009208 00000 n 
+0000004937 00000 n 
+0000009556 00000 n 
+0000002818 00000 n 
+0000002918 00000 n 
+0000009691 00000 n 
+0000002964 00000 n 
+0000003189 00000 n 
+0000003949 00000 n 
+0000003220 00000 n 
+0000003291 00000 n 
+0000004185 00000 n 
+0000005091 00000 n 
+0000005291 00000 n 
+0000008022 00000 n 
+0000005482 00000 n 
+0000005558 00000 n 
+0000008256 00000 n 
+0000009359 00000 n 
+0000009617 00000 n 
+0000009752 00000 n 
+0000009875 00000 n 
+0000009933 00000 n 
+0000010097 00000 n 
 trailer
 << /Size 43 /Root 41 0 R /Info 42 0 R >>
 startxref
-10299
+10287
 %%EOF
diff --git a/testfiles/embedfile.pvt b/testfiles/embedfile.pvt
index 178d0f3..f80b3d4 100644
--- a/testfiles/embedfile.pvt
+++ b/testfiles/embedfile.pvt
@@ -18,6 +18,7 @@ grüße
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Source}
 \pdftool_textstringlit_print:nN {this~is~something~odd~with~öäü}\l_tmpa_str
 \pdfdict_put:nnx  {file/FileSpec} {Desc}{\l_tmpa_str}
+\pdfdict_put:nnx  {file/Params} {ModDate}{(D:20200422135851Z)}
 \pdffile_embed_file:nnn {testinput.txt}{grüße.txt}{example1}
 \group_end:
 
@@ -33,6 +34,7 @@ grüße
 \group_begin:
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Source}
 \pdfdict_put:nnn  {file/FileSpec} {Desc}{(this~is~a~eps)}
+\pdfdict_put:nnx  {file/Params} {ModDate}{(D:20200422135851Z)}
 \pdffile_embed_file:nnn {testinput.txt}{Some~txt~file}{example3}
 
 \pdfdict_put:nnn  {file/FileSpec} {AFRelationship}{/Data}





More information about the latex3-commits mailing list.