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=4a6abf4a2c57073e6f94d6f2485de3b93ba502ca

commit 4a6abf4a2c57073e6f94d6f2485de3b93ba502ca
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Jan 26 02:02:48 2011 +0100

    New t-control-bogus test-case
---
 t-control-bogus/Makefile                                       | 10 ++++++++++
 .../pkg-bogus}/DEBIAN/control                                  |  6 +++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/t-control-bogus/Makefile b/t-control-bogus/Makefile
new file mode 100644
index 000000000..5e6119784
--- /dev/null
+++ b/t-control-bogus/Makefile
@@ -0,0 +1,10 @@
+TESTS_DEB := pkg-bogus
+
+DPKG_DEB_OPTIONS = --nocheck
+
+include ../Test.mk
+
+test-case:
+       # test handling of package with bogus control file
+       ! $(DPKG_INSTALL) pkg-bogus.deb
+       test "`$(PKG_STATUS) pkg-bogus`" = ""
diff --git a/t-disappear/pkg-disappear-0/DEBIAN/control 
b/t-control-bogus/pkg-bogus/DEBIAN/control
similarity index 58%
copy from t-disappear/pkg-disappear-0/DEBIAN/control
copy to t-control-bogus/pkg-bogus/DEBIAN/control
index d8b9b28cb..2c08ac809 100644
--- a/t-disappear/pkg-disappear-0/DEBIAN/control
+++ b/t-control-bogus/pkg-bogus/DEBIAN/control
@@ -1,8 +1,8 @@
-Package: pkg-disappear
+Package: pkg-bogus
+BOGUS-LINE
 Version: 0.0-1
 Section: test
 Priority: extra
 Maintainer: Guillem Jover <[email protected]>
 Architecture: all
-Description: test package - disappear
-
+Description: test package - bogus control file

-- 
Dpkg.Org's dpkg

Reply via email to