diff options
Diffstat (limited to 't/recipes/checks/files/date/deb-format-ancient-file/build-spec')
4 files changed, 21 insertions, 0 deletions
diff --git a/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/fill-values b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/fill-values new file mode 100644 index 0000000..c100689 --- /dev/null +++ b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: deb-format-ancient-file +Description: Test package containing an ancient file diff --git a/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control new file mode 100755 index 0000000..6372736 --- /dev/null +++ b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +name="$2" + +TZ=GMT touch -d@-1 "$debiandir/control" 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" diff --git a/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/root/usr/share/cargo/registry/deb-format-ancient-file/.cargo_vcs_info.json b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/root/usr/share/cargo/registry/deb-format-ancient-file/.cargo_vcs_info.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/root/usr/share/cargo/registry/deb-format-ancient-file/.cargo_vcs_info.json @@ -0,0 +1 @@ +{} |