summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data')
-rwxr-xr-xt/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data
new file mode 100755
index 0000000..cfb25f4
--- /dev/null
+++ b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-data
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+rootdir="$1"
+name="$2"
+
+TZ=GMT touch -t 197001010000 "$rootdir/usr/share/doc/$name/changelog.gz"
+TZ=GMT touch -t 197001010000 "$rootdir/usr/share/cargo/registry/$name/.cargo_vcs_info.json"