From 75808db17caf8b960b351e3408e74142f4c85aac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 15:42:30 +0200 Subject: Adding upstream version 2.117.0. Signed-off-by: Daniel Baumann --- .../control-files/unpack-numerical-owner/build-spec/fill-values | 3 +++ .../control-files/unpack-numerical-owner/build-spec/tar-control | 8 ++++++++ .../control-files/unpack-numerical-owner/build-spec/tar-data | 7 +++++++ t/recipes/checks/control-files/unpack-numerical-owner/eval/desc | 3 +++ t/recipes/checks/control-files/unpack-numerical-owner/eval/hints | 1 + 5 files changed, 22 insertions(+) create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values create mode 100755 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control create mode 100755 t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/eval/desc create mode 100644 t/recipes/checks/control-files/unpack-numerical-owner/eval/hints (limited to 't/recipes/checks/control-files/unpack-numerical-owner') diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values new file mode 100644 index 0000000..1197f5c --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: deb +Testname: unpack-numerical-owner +Description: Test for tarballs with numerical owner only diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control new file mode 100755 index 0000000..19b6369 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-control @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +debiandir="$1" +controlmembers="$2" + +tar --create --file members/control.tar.gz --gzip --numeric-owner --directory "$debiandir" $controlmembers diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data new file mode 100755 index 0000000..5659822 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/build-spec/tar-data @@ -0,0 +1,7 @@ +#!/bin/sh + +set -e + +rootdir="$1" + +tar --create --file members/data.tar.gz --gzip --numeric-owner --directory "$rootdir" . diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc b/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc new file mode 100644 index 0000000..535eb15 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/eval/desc @@ -0,0 +1,3 @@ +Testname: unpack-numerical-owner +Test-Against: control-file-has-bad-owner +Check: control-files diff --git a/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints b/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints new file mode 100644 index 0000000..60d1461 --- /dev/null +++ b/t/recipes/checks/control-files/unpack-numerical-owner/eval/hints @@ -0,0 +1 @@ +unpack-numerical-owner (binary): no-ctrl-scripts -- cgit v1.2.3