diff options
Diffstat (limited to 't/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec')
7 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/README b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/README new file mode 100644 index 0000000..5709e2d --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/README @@ -0,0 +1 @@ +Some upstream README diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/debian/watch b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/debian/watch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/debian/watch @@ -0,0 +1 @@ + diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/fill-values b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/fill-values new file mode 100644 index 0000000..d58be6f --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: unpack-srcpkg-dot-subdir +Description: Test package for upstream tar files with a ./ prefix diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.c b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.c new file mode 100644 index 0000000..53f8d16 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.c @@ -0,0 +1 @@ +/* some C program */ diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.h b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.h new file mode 100644 index 0000000..da2c3b4 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.h @@ -0,0 +1 @@ +/* some header */ diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/orig/some-file b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/orig/some-file new file mode 100644 index 0000000..2cfb00b --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/orig/some-file @@ -0,0 +1 @@ +CONTENTS diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/tar-orig b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/tar-orig new file mode 100755 index 0000000..31b5ab7 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-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" |