diff options
Diffstat (limited to 't/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec')
6 files changed, 17 insertions, 0 deletions
diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/debian/watch b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/debian/watch new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/debian/watch @@ -0,0 +1 @@ + diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/fill-values b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/fill-values new file mode 100644 index 0000000..ffac82e --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: source-non-native +Testname: unpack-srcpkg-dot-dir +Description: Test package for upstream tar files with a ./ prefix diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/README b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/README new file mode 100644 index 0000000..5709e2d --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/README @@ -0,0 +1 @@ +Some upstream README diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.c b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.c new file mode 100644 index 0000000..53f8d16 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.c @@ -0,0 +1 @@ +/* some C program */ diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.h b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.h new file mode 100644 index 0000000..da2c3b4 --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.h @@ -0,0 +1 @@ +/* some header */ diff --git a/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/tar-orig b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/tar-orig new file mode 100755 index 0000000..87df74f --- /dev/null +++ b/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/tar-orig @@ -0,0 +1,10 @@ +#!/bin/sh + +set -e + +tarstem="$1" +directory="$2" + +files=$(cd $directory; ls | tr '\n' ' ') + +tar --create --file "$tarstem.tar.gz" --gzip --directory "$directory" $files |