This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=8f5bda5f58d36c4197384dab3a218196e662b3b9

commit 8f5bda5f58d36c4197384dab3a218196e662b3b9
Author: Guillem Jover <[email protected]>
AuthorDate: Sat Jul 2 18:33:12 2016 +0200

    t-source-minimal: New minimal source package unit test
    
    Prompted-by: Johannes Schauer <[email protected]>
---
 Makefile                                             |  1 +
 t-source-minimal/Makefile                            | 11 +++++++++++
 t-source-minimal/pkg-minimal_1.0/debian/changelog    |  5 +++++
 t-source-minimal/pkg-minimal_1.0/debian/control      | 13 +++++++++++++
 t-source-minimal/pkg-minimal_1.0/debian/copyright    | 17 +++++++++++++++++
 t-source-minimal/pkg-minimal_1.0/debian/rules        | 20 ++++++++++++++++++++
 .../pkg-minimal_1.0/debian/source/format             |  1 +
 .../pkg-minimal_1.0/debian/watch                     |  0
 8 files changed, 68 insertions(+)

diff --git a/Makefile b/Makefile
index d65274523..d38b4ddd7 100644
--- a/Makefile
+++ b/Makefile
@@ -110,6 +110,7 @@ TESTS_PASS += t-switch-symlink-rel-to-dir
 TESTS_PASS += t-switch-dir-to-symlink-abs
 TESTS_PASS += t-switch-dir-to-symlink-rel
 endif
+TESTS_PASS += t-source-minimal
 TESTS_PASS += t-substvars
 TESTS_PASS += t-failinst-failrm
 TESTS_PASS += t-dir-extension-check
diff --git a/t-source-minimal/Makefile b/t-source-minimal/Makefile
new file mode 100644
index 000000000..3a0d06d24
--- /dev/null
+++ b/t-source-minimal/Makefile
@@ -0,0 +1,11 @@
+include ../Test.mk
+
+test-case:
+       cd pkg-minimal_1.0; dpkg-buildpackage --build=full --check-command=
+
+test-clean:
+       cd pkg-minimal_1.0; debian/rules clean
+
+clean-hook:
+       rm -f pkg-minimal_1.0.*
+       rm -f pkg-minimal_1.0_*
diff --git a/t-source-minimal/pkg-minimal_1.0/debian/changelog 
b/t-source-minimal/pkg-minimal_1.0/debian/changelog
new file mode 100644
index 000000000..34b4ff775
--- /dev/null
+++ b/t-source-minimal/pkg-minimal_1.0/debian/changelog
@@ -0,0 +1,5 @@
+pkg-minimal (1.0) unstable; urgency=low
+
+  * Entry. Closes: #12345
+
+ -- Dpkg Test Bot <[email protected]>  Thu, 30 Jun 2016 20:15:12 +0200
diff --git a/t-source-minimal/pkg-minimal_1.0/debian/control 
b/t-source-minimal/pkg-minimal_1.0/debian/control
new file mode 100644
index 000000000..d63aa5661
--- /dev/null
+++ b/t-source-minimal/pkg-minimal_1.0/debian/control
@@ -0,0 +1,13 @@
+Source: pkg-minimal
+Section: debug
+Priority: optional
+Maintainer: Dpkg Developers <[email protected]>
+Uploaders: Dpkg Test Bot <[email protected]>
+Standards-Version: 3.9.8
+
+Package: pkg-minimal
+Architecture: all
+Description: test package
+ This is a test package for debugging purposes, with a fake description
+ to cheat linters into believing this contains some actual valuable text
+ that the reader can make some sense of.
diff --git a/t-source-minimal/pkg-minimal_1.0/debian/copyright 
b/t-source-minimal/pkg-minimal_1.0/debian/copyright
new file mode 100644
index 000000000..fd07fc0d4
--- /dev/null
+++ b/t-source-minimal/pkg-minimal_1.0/debian/copyright
@@ -0,0 +1,17 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files: *
+Copyright:
+ Copyright © 2016 Dpkg Developers <[email protected]>
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/t-source-minimal/pkg-minimal_1.0/debian/rules 
b/t-source-minimal/pkg-minimal_1.0/debian/rules
new file mode 100755
index 000000000..ce38507b8
--- /dev/null
+++ b/t-source-minimal/pkg-minimal_1.0/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+clean:
+       rm -rf debian/files debian/tmp
+
+build-indep:
+build-arch:
+build: build-indep build-arch
+
+binary-indep: build-indep
+       rm -rf debian/tmp
+       mkdir -p debian/tmp/DEBIAN
+       dpkg-gencontrol
+       dpkg-deb --build debian/tmp ..
+
+binary-arch: build-arch
+
+binary: binary-indep binary-arch
+
+.PHONY: clean build-indep build-arch build binary-indexp binary-arch binary
diff --git a/t-source-minimal/pkg-minimal_1.0/debian/source/format 
b/t-source-minimal/pkg-minimal_1.0/debian/source/format
new file mode 100644
index 000000000..89ae9db8f
--- /dev/null
+++ b/t-source-minimal/pkg-minimal_1.0/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)
diff --git a/dpkgdb/available b/t-source-minimal/pkg-minimal_1.0/debian/watch
similarity index 100%
copy from dpkgdb/available
copy to t-source-minimal/pkg-minimal_1.0/debian/watch

-- 
Dpkg.Org's dpkg

Reply via email to