[pbuilder] 01/01: this test should really pass but doesn't
Mattia Rizzolo
mattia at debian.org
Sat Jul 23 14:11:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch 635696_b-d_as_last_line_in_dsc
in repository pbuilder.
commit 1f98c302c8af283ebd483b5d5091bf49614e56c4
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sat Jul 23 14:11:04 2016 +0000
this test should really pass but doesn't
---
t/test_pbuilder-satisfydepends-funcs | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/t/test_pbuilder-satisfydepends-funcs b/t/test_pbuilder-satisfydepends-funcs
index 12cf8d7..9302f8a 100755
--- a/t/test_pbuilder-satisfydepends-funcs
+++ b/t/test_pbuilder-satisfydepends-funcs
@@ -48,6 +48,15 @@ EOF
get_build_deps
}
+test_get_build_deps_source_para_only() {
+ local BINARY_ARCH="$1"
+ cat <<EOF >"$DEBIAN_CONTROL"
+Source: foo
+Build-Depends: bar
+EOF
+ get_build_deps
+}
+
test_get_build_deps_dsc() {
cat <<EOF >"$DEBIAN_CONTROL"
-----BEGIN PGP SIGNED MESSAGE-----
@@ -104,6 +113,7 @@ expect_output "autotools-dev (>= 1.2), debhelper, quilt (<< 12:0), libwxgtk2.8-d
test_get_build_deps "binary"
expect_output "autotools-dev (>= 1.2), debhelper, quilt (<< 12:0), libwxgtk2.8-dev, test [amd64 i386], test1, test2 [!i386 !amd64], test3 | test4, test5" \
test_get_build_deps "all"
+expect_output "bar" test_get_build_deps_source_para_only "any"
expect_fail checkbuilddep_archdeps "foo [amd64]" "amd64"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git
More information about the Pbuilder-maint
mailing list