[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.2-39-g601fbd1



The following commit has been merged in the master branch:
commit 601fbd11fde8fa9309e593b255d3e72ed91349de
Author: Russ Allbery <rra@debian.org>
Date:   Sat Feb 7 19:02:13 2009 -0800

    Add test for binaries in upstream source tarball

diff --git a/t/tests/cruft-upstream-binaries/desc b/t/tests/cruft-upstream-binaries/desc
new file mode 100644
index 0000000..1056048
--- /dev/null
+++ b/t/tests/cruft-upstream-binaries/desc
@@ -0,0 +1,7 @@
+Testname: cruft-upstream-binaries
+Sequence: 6000
+Type: non-native
+Version: 1.0-1
+Skeleton: pedantic
+Options: --pedantic -I -E
+Description: Check for binaries in the upstream tarball
diff --git a/t/tests/cruft-upstream-binaries/pre_upstream b/t/tests/cruft-upstream-binaries/pre_upstream
new file mode 100755
index 0000000..a78906a
--- /dev/null
+++ b/t/tests/cruft-upstream-binaries/pre_upstream
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+cd "$1"
+gcc -o hello hello.c
diff --git a/t/tests/cruft-upstream-binaries/tags b/t/tests/cruft-upstream-binaries/tags
new file mode 100644
index 0000000..a365c26
--- /dev/null
+++ b/t/tests/cruft-upstream-binaries/tags
@@ -0,0 +1 @@
+P: cruft-upstream-binaries source: source-contains-prebuilt-binary hello
diff --git a/t/tests/cruft-upstream-binaries/upstream/hello.c b/t/tests/cruft-upstream-binaries/upstream/hello.c
new file mode 100644
index 0000000..1b47b80
--- /dev/null
+++ b/t/tests/cruft-upstream-binaries/upstream/hello.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+
+int
+main(void)
+{
+    printf("Hello world!\n");
+    return 0;
+}

-- 
Debian package checker


Reply to: