summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/unpack/ancient-source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/recipes/checks/unpack/ancient-source/build-spec/debian/watch1
-rw-r--r--t/recipes/checks/unpack/ancient-source/build-spec/fill-values3
-rw-r--r--t/recipes/checks/unpack/ancient-source/build-spec/orig/README1
-rwxr-xr-xt/recipes/checks/unpack/ancient-source/build-spec/pre-orig7
-rw-r--r--t/recipes/checks/unpack/ancient-source/eval/desc2
-rw-r--r--t/recipes/checks/unpack/ancient-source/eval/hints1
6 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/unpack/ancient-source/build-spec/debian/watch b/t/recipes/checks/unpack/ancient-source/build-spec/debian/watch
new file mode 100644
index 0000000..c2a8392
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/build-spec/debian/watch
@@ -0,0 +1 @@
+# foo
diff --git a/t/recipes/checks/unpack/ancient-source/build-spec/fill-values b/t/recipes/checks/unpack/ancient-source/build-spec/fill-values
new file mode 100644
index 0000000..5ca784e
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: source-non-native
+Testname: ancient-source
+Description: Test package for ancient files producing tar errors
diff --git a/t/recipes/checks/unpack/ancient-source/build-spec/orig/README b/t/recipes/checks/unpack/ancient-source/build-spec/orig/README
new file mode 100644
index 0000000..5709e2d
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/build-spec/orig/README
@@ -0,0 +1 @@
+Some upstream README
diff --git a/t/recipes/checks/unpack/ancient-source/build-spec/pre-orig b/t/recipes/checks/unpack/ancient-source/build-spec/pre-orig
new file mode 100755
index 0000000..9c327c6
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/build-spec/pre-orig
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+packagedir="$1"
+
+TZ=GMT touch -d@-1 "$packagedir/README"
diff --git a/t/recipes/checks/unpack/ancient-source/eval/desc b/t/recipes/checks/unpack/ancient-source/eval/desc
new file mode 100644
index 0000000..f10d0aa
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/eval/desc
@@ -0,0 +1,2 @@
+Testname: ancient-source
+Check: unpack
diff --git a/t/recipes/checks/unpack/ancient-source/eval/hints b/t/recipes/checks/unpack/ancient-source/eval/hints
new file mode 100644
index 0000000..1da781a
--- /dev/null
+++ b/t/recipes/checks/unpack/ancient-source/eval/hints
@@ -0,0 +1 @@
+ancient-source (source): unpack-message-for-source tar: ancient-source-1.0/README: implausibly old time stamp 1969-12-31 23:59:59