diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec | |
parent | Initial commit. (diff) | |
download | lintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip |
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
4 files changed, 26 insertions, 0 deletions
diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values new file mode 100644 index 0000000..b58a4b1 --- /dev/null +++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/fill-values @@ -0,0 +1,4 @@ +Testname: cruft-upstream-binaries +Skeleton: upload-non-native +Source-Format: 3.0 (quilt) +Description: Check for binaries in the upstream tarball diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c new file mode 100644 index 0000000..1b47b80 --- /dev/null +++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/orig/hello.c @@ -0,0 +1,8 @@ +#include <stdio.h> + +int +main(void) +{ + printf("Hello world!\n"); + return 0; +} diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build new file mode 100755 index 0000000..b35385b --- /dev/null +++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-build @@ -0,0 +1,5 @@ +#!/bin/sh + +mkdir -p $1/debian/missing-sources +cp $1/hello.c $1/debian/missing-sources/sourced.c +ln -s sourced.c $1/debian/missing-sources/symlink-to-sourced.c diff --git a/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream new file mode 100755 index 0000000..c94b2d3 --- /dev/null +++ b/t/recipes/checks/files/source-missing/cruft-upstream-binaries/build-spec/pre-upstream @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +cd "$1" +gcc -o hello hello.c +# create non source binary +cp hello notsourced +# create two sourced binaries +cp hello sourced +cp hello symlink-to-sourced |