diff options
Diffstat (limited to '')
4 files changed, 13 insertions, 0 deletions
diff --git a/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/fill-values b/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/fill-values new file mode 100644 index 0000000..814c999 --- /dev/null +++ b/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: tar-removing-leading-slash +Description: Test package emitting errors from tar diff --git a/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/tar-data b/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/tar-data new file mode 100755 index 0000000..3512cc0 --- /dev/null +++ b/t/recipes/checks/unpack/tar-removing-leading-slash/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar.gz --gzip --xform 's,^,/,' --directory "$rootdir" usr/ diff --git a/t/recipes/checks/unpack/tar-removing-leading-slash/eval/desc b/t/recipes/checks/unpack/tar-removing-leading-slash/eval/desc new file mode 100644 index 0000000..c1e10cf --- /dev/null +++ b/t/recipes/checks/unpack/tar-removing-leading-slash/eval/desc @@ -0,0 +1,2 @@ +Testname: tar-removing-leading-slash +Check: unpack diff --git a/t/recipes/checks/unpack/tar-removing-leading-slash/eval/hints b/t/recipes/checks/unpack/tar-removing-leading-slash/eval/hints new file mode 100644 index 0000000..9f60daa --- /dev/null +++ b/t/recipes/checks/unpack/tar-removing-leading-slash/eval/hints @@ -0,0 +1 @@ +tar-removing-leading-slash (binary): unpack-message-for-deb-data tar: Removing leading `/' from member names |