From f2b325f04d02f9f633fd5b00b45ddae6a3e31686 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Fri, 15 Mar 2024 21:15:57 +0100 Subject: [PATCH] Add two more test cases for times around a DST change. --- regress/{mtime-dst.test => mtime-dstpoint.test} | 0 regress/mtime-post-dstpoint-deflated.zip | Bin 0 -> 145 bytes regress/mtime-post-dstpoint.test | 5 +++++ regress/mtime-post-dstpoint.zip | Bin 0 -> 188 bytes regress/mtime-pre-dstpoint-deflated.zip | Bin 0 -> 145 bytes regress/mtime-pre-dstpoint.test | 5 +++++ regress/mtime-pre-dstpoint.zip | Bin 0 -> 188 bytes 7 files changed, 10 insertions(+) rename regress/{mtime-dst.test => mtime-dstpoint.test} (100%) create mode 100644 regress/mtime-post-dstpoint-deflated.zip create mode 100644 regress/mtime-post-dstpoint.test create mode 100644 regress/mtime-post-dstpoint.zip create mode 100644 regress/mtime-pre-dstpoint-deflated.zip create mode 100644 regress/mtime-pre-dstpoint.test create mode 100644 regress/mtime-pre-dstpoint.zip diff --git a/regress/mtime-dst.test b/regress/mtime-dstpoint.test similarity index 100% rename from regress/mtime-dst.test rename to regress/mtime-dstpoint.test diff --git a/regress/mtime-post-dstpoint-deflated.zip b/regress/mtime-post-dstpoint-deflated.zip new file mode 100644 index 0000000000000000000000000000000000000000..d40e147233196dd6746c2a77d07b1b7156748cba GIT binary patch literal 145 zcmWIWW@Zs#U}E54I3S%9=HXzvL6Cug!3K!=fjBWKF*Lks-jFk;$GJw|<}zVDPsQM4_1$;LXYg5@rNKTOe%*;xGUJ4dfa& literal 0 HcmV?d00001 diff --git a/regress/mtime-post-dstpoint.test b/regress/mtime-post-dstpoint.test new file mode 100644 index 000000000..a4748cdaf --- /dev/null +++ b/regress/mtime-post-dstpoint.test @@ -0,0 +1,5 @@ +description change method from stored to deflated, for a file one hour after DST change +environment-set TZ America/New_York +return 0 +arguments test.zzip set_file_compression 0 deflate 0 +file test.zzip mtime-post-dstpoint.zip mtime-post-dstpoint-deflated.zip diff --git a/regress/mtime-post-dstpoint.zip b/regress/mtime-post-dstpoint.zip new file mode 100644 index 0000000000000000000000000000000000000000..2a3e14d3d748d51a5d2cd666d4a8aba6c65e95ef GIT binary patch literal 188 zcmWIWW@h1H0D%M2Ibj|SrW4uHWZk0Fg4Dzky^@NOL=?c4gaWuwBon!k oQ2OlMi7N&aey}~8%UTD2yKCMCWylT01mM%bN~PV literal 0 HcmV?d00001 diff --git a/regress/mtime-pre-dstpoint-deflated.zip b/regress/mtime-pre-dstpoint-deflated.zip new file mode 100644 index 0000000000000000000000000000000000000000..287fd31d556a7fe86fceca22b11f9bb682b7b4c4 GIT binary patch literal 145 zcmWIWW@Zs#U}E54sGUBa(Zj)XgCGL~gAEY#194(fVzO>gYC&pZiC#%XiMNjnTa2eh vgSKF(nIvlgBSU~UBa=NdZv8+bz~FBqh(a?hz?+o~B+Lkewm{kr#9;scAfOs# literal 0 HcmV?d00001 diff --git a/regress/mtime-pre-dstpoint.test b/regress/mtime-pre-dstpoint.test new file mode 100644 index 000000000..3518e6e16 --- /dev/null +++ b/regress/mtime-pre-dstpoint.test @@ -0,0 +1,5 @@ +description change method from stored to deflated, for a file one hour before DST change +environment-set TZ America/New_York +return 0 +arguments test.zzip set_file_compression 0 deflate 0 +file test.zzip mtime-pre-dstpoint.zip mtime-pre-dstpoint-deflated.zip diff --git a/regress/mtime-pre-dstpoint.zip b/regress/mtime-pre-dstpoint.zip new file mode 100644 index 0000000000000000000000000000000000000000..cd096d18fee10118cacda65bb0d136b1d4495a11 GIT binary patch literal 188 zcmWIWW@h1H0D%MCIbj|SrW4uHWZk0Fg4Dzky^@NOL=?c4gaWuwBon!k oQ2OlMi7N&aey}~8%UTD2yKCMCWylT0RJ*9Q~&?~ literal 0 HcmV?d00001