summaryrefslogtreecommitdiffstats
path: root/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/odd-inputs/source/unpack-srcpkg-no-subdir')
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/debian/watch1
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/fill-values3
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/README1
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c1
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h1
-rwxr-xr-xt/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/tar-orig8
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/desc2
-rw-r--r--t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/hints3
8 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/debian/watch b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/debian/watch
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/debian/watch
@@ -0,0 +1 @@
+
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/fill-values b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/fill-values
new file mode 100644
index 0000000..664faee
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: source-non-native
+Testname: unpack-srcpkg-no-subdir
+Description: Test package for upstream tar files with no subdirectories
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/README b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/README
new file mode 100644
index 0000000..5709e2d
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/README
@@ -0,0 +1 @@
+Some upstream README
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c
new file mode 100644
index 0000000..53f8d16
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c
@@ -0,0 +1 @@
+/* some C program */
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h
new file mode 100644
index 0000000..da2c3b4
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h
@@ -0,0 +1 @@
+/* some header */
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/tar-orig b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/tar-orig
new file mode 100755
index 0000000..5f2bf42
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/tar-orig
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+tarstem="$1"
+directory="$2"
+
+tar --create --file "$tarstem.tar.gz" --gzip --directory "$directory" .
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/desc b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/desc
new file mode 100644
index 0000000..7dc54fd
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/desc
@@ -0,0 +1,2 @@
+Testname: unpack-srcpkg-no-subdir
+Default-Lintian-Options: --pedantic --display-info --display-experimental
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/hints b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/hints
new file mode 100644
index 0000000..0c046b6
--- /dev/null
+++ b/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/eval/hints
@@ -0,0 +1,3 @@
+unpack-srcpkg-no-subdir (source): upstream-metadata-missing-repository [debian/upstream/metadata]
+unpack-srcpkg-no-subdir (source): upstream-metadata-missing-bug-tracking [debian/upstream/metadata]
+unpack-srcpkg-no-subdir (source): missing-debian-watch-file-standard [debian/watch]