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

[SCM] Debian package checker branch, master, updated. 2.5.1-51-gdd567f0



The following commit has been merged in the master branch:
commit dd567f0d48efa5cd299458746735e517a8525ed4
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Jul 8 23:01:39 2011 +0200

    Added test for unknown source formats

diff --git a/t/COVERAGE b/t/COVERAGE
index 14a46fd..c7f1032 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -38,8 +38,6 @@ debconf select-without-choices
 debconf unknown-field-in-templates
 debconf unknown-template-type
 
-debian-source-dir unknown-source-format
-
 fields alternates-not-allowed
 fields aspell-package-not-arch-all
 fields bad-menu-item
diff --git a/t/source/control-field-traversal-2/Makefile b/t/source/debian-source-dir-unknown-source-format/Makefile
similarity index 88%
copy from t/source/control-field-traversal-2/Makefile
copy to t/source/debian-source-dir-unknown-source-format/Makefile
index 3eff987..847f9f5 100644
--- a/t/source/control-field-traversal-2/Makefile
+++ b/t/source/debian-source-dir-unknown-source-format/Makefile
@@ -1,4 +1,4 @@
-name = control-field-traversal-2
+name = debian-source-dir-unknown-source-format
 dir  = $(name)-1
 
 all:
@@ -7,7 +7,7 @@ all:
 	cp changelog copyright control rules $(dir)/debian/
 	echo 7 > $(dir)/debian/compat
 	mkdir $(dir)/debian/source
-	echo 1.0 > $(dir)/debian/source/format
+	echo "3.0 (unknown-format)" > $(dir)/debian/source/format
 	tar cfz $(name)_1.tar.gz $(dir)
 	cp dsc.in $(name)_1.dsc
 	perl -I$(LINTIAN_ROOT)/lib -MUtil -i -pe \
diff --git a/t/source/control-file-duplicate-field/changelog b/t/source/debian-source-dir-unknown-source-format/changelog
similarity index 100%
copy from t/source/control-file-duplicate-field/changelog
copy to t/source/debian-source-dir-unknown-source-format/changelog
diff --git a/t/source/control-file-duplicate-field/control b/t/source/debian-source-dir-unknown-source-format/control
similarity index 79%
copy from t/source/control-file-duplicate-field/control
copy to t/source/debian-source-dir-unknown-source-format/control
index db122cc..be1fcd8 100644
--- a/t/source/control-file-duplicate-field/control
+++ b/t/source/debian-source-dir-unknown-source-format/control
@@ -1,14 +1,13 @@
-Source: control-file-duplicate-field
+Source: debian-source-dir-unknown-source-format
 Section: devel
 Priority: optional
 Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
 Build-Depends: debhelper (>= 7)
 Standards-Version: 3.8.2
 
-Package: control-file-duplicate-field
+Package: debian-source-dir-unknown-source-format
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Test for missing separators in control files
  This is a test package designed to exercise some feature or tag of
  Lintian.  It is part of the Lintian test suite and may do very odd
diff --git a/t/source/changelog-file-symlink/copyright b/t/source/debian-source-dir-unknown-source-format/copyright
similarity index 100%
copy from t/source/changelog-file-symlink/copyright
copy to t/source/debian-source-dir-unknown-source-format/copyright
diff --git a/t/source/debian-source-dir-unknown-source-format/dsc.in b/t/source/debian-source-dir-unknown-source-format/dsc.in
new file mode 100644
index 0000000..e54572b
--- /dev/null
+++ b/t/source/debian-source-dir-unknown-source-format/dsc.in
@@ -0,0 +1,14 @@
+Format: 1.0
+Source: debian-source-dir-unknown-source-format
+Binary: debian-source-dir-unknown-source-format
+Architecture: all
+Version: 1
+Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
+Standards-Version: 3.8.2
+Build-Depends: debhelper (>= 7)
+Checksums-Sha1:
+ @SHA1@ @SIZE@ debian-source-dir-unknown-source-format_1.tar.gz
+Checksums-Sha256:
+ @SHA256@ @SIZE@ debian-source-dir-unknown-source-format_1.tar.gz
+Files:
+ @MD5@ @SIZE@ debian-source-dir-unknown-source-format_1.tar.gz
diff --git a/t/source/changelog-file-symlink/rules b/t/source/debian-source-dir-unknown-source-format/rules
similarity index 100%
copy from t/source/changelog-file-symlink/rules
copy to t/source/debian-source-dir-unknown-source-format/rules
diff --git a/t/source/debian-source-dir-unknown-source-format/tags b/t/source/debian-source-dir-unknown-source-format/tags
new file mode 100644
index 0000000..add3802
--- /dev/null
+++ b/t/source/debian-source-dir-unknown-source-format/tags
@@ -0,0 +1 @@
+E: debian-source-dir-unknown-source-format source: unknown-source-format 3.0 (unknown-format)

-- 
Debian package checker


Reply to: