diff options
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-dh-exec')
9 files changed, 54 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs new file mode 100755 index 0000000..aaac17a --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/dirs @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib +usr/lib/${DEB_HOST_MULTIARCH}/octave/packages diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install new file mode 100755 index 0000000..c79e8ae --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/install @@ -0,0 +1,6 @@ +#! /usr/bin/dh-exec +usr/lib/foo [linux-any] [hurd-any] [kfreebsd-any] +usr/lib/${DEB_HOST_MULTIARCH} +usr/lib/${DEB_HOST_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ +usr/lib/${DEB_BUILD_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ +usr/lib/${DEB_HOST_MULTIARCH}/some-package/*.so diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links new file mode 100755 index 0000000..3c907d7 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +link-foo => link-bar diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages new file mode 100755 index 0000000..2209766 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/manpages @@ -0,0 +1,5 @@ +#! /usr/lib/dh-exec/dh-exec-subst +## The above works, but is not recommended. +foo => bar +this-line-uses-tabs => this-line-uses-tabs +${DEB_BUILD_WHATEVER} diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime new file mode 100755 index 0000000..ce8e762 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/mime @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +debian/rules diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules new file mode 100755 index 0000000..06b98ae --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +%: + dh $@ + +# Ignore the "mime" file as we do not really depend on dh-exec and we +# do not really need the files listed there for the test. +override_dh_installmime: + + +override_dh_installman: + +override_dh_install: + +override_dh_installdirs: +override_dh_link: diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values new file mode 100644 index 0000000..f359531 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: upload-native +Testname: debhelper-dh-exec +Dh-Compat-Level: 9 +Description: Tests related to executable, dh-exec using packaging files diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc new file mode 100644 index 0000000..b369e0d --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/desc @@ -0,0 +1,4 @@ +Testname: debhelper-dh-exec +Options: --suppress-tags + no-versioned-debhelper-prerequisite +Check: debhelper diff --git a/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints new file mode 100644 index 0000000..dfabcc2 --- /dev/null +++ b/t/recipes/checks/debhelper/debhelper-dh-exec/eval/hints @@ -0,0 +1,12 @@ +debhelper-dh-exec (source): package-uses-dh-exec-but-lacks-build-depends [debian/rules] +debhelper-dh-exec (source): package-uses-deprecated-debhelper-compat-version 9 +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH}/some-package/*.so [debian/install:6] +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH} [debian/install:3] +debhelper-dh-exec (source): dh-exec-useless-usage usr/lib/${DEB_HOST_MULTIARCH} /usr/lib/${DEB_HOST_MULTIARCH}/ [debian/install:4] +debhelper-dh-exec (source): dh-exec-subst-unknown-variable DEB_BUILD_WHATEVER [debian/manpages:5] +debhelper-dh-exec (source): dh-exec-script-without-dh-exec-features [debian/mime] +debhelper-dh-exec (source): dh-exec-private-helper [debian/manpages] +debhelper-dh-exec (source): dh-exec-install-not-allowed-here [debian/links] +debhelper-dh-exec (source): debian-build-system dh [debian/rules] +debhelper-dh-exec (source): debhelper-compat-virtual-relation 9 [debian/control] +debhelper-dh-exec (source): debhelper-compat-level 9 |