The following commit has been merged in the master branch:
commit a32a222cc9efbcce078f38b5cbb76a2228320159
Author: Iain Lane <[email protected]>
Date:   Sun Apr 24 17:50:06 2011 +0100

    Add test for format-3.0-but-debian-changes-patch
    
    Signed-off-by: Niels Thykier <[email protected]>

diff --git 
a/t/tests/patch-systems-no-readme-source/debian/debian/patches/01_this_patch_is_ok
 
b/t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/debian-changes-1.0-1
similarity index 50%
copy from 
t/tests/patch-systems-no-readme-source/debian/debian/patches/01_this_patch_is_ok
copy to 
t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/debian-changes-1.0-1
index 7eee707..7d0132f 100644
--- 
a/t/tests/patch-systems-no-readme-source/debian/debian/patches/01_this_patch_is_ok
+++ 
b/t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/debian-changes-1.0-1
@@ -1,7 +1,7 @@
 This is a description of the patch
 
---- a.orig     2008-11-11 19:38:12.000000000 +0000
-+++ a  2008-11-11 19:38:26.000000000 +0000
+--- a/a        2008-11-11 19:38:12.000000000 +0000
++++ a/a        2008-11-11 19:38:26.000000000 +0000
 @@ -1 +1,2 @@
  sample text
 +and some more sample text
diff --git 
a/t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/series 
b/t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/series
new file mode 100644
index 0000000..9ca2b60
--- /dev/null
+++ b/t/tests/patch-systems-quilt-debian-changes/debian/debian/patches/series
@@ -0,0 +1 @@
+debian-changes-1.0-1
diff --git a/t/tests/basic-quilt/debian/debian/source/format 
b/t/tests/patch-systems-quilt-debian-changes/debian/debian/source/format
similarity index 100%
copy from t/tests/basic-quilt/debian/debian/source/format
copy to t/tests/patch-systems-quilt-debian-changes/debian/debian/source/format
diff --git a/t/tests/patch-systems-quilt-debian-changes/desc 
b/t/tests/patch-systems-quilt-debian-changes/desc
new file mode 100644
index 0000000..ce4e9ae
--- /dev/null
+++ b/t/tests/patch-systems-quilt-debian-changes/desc
@@ -0,0 +1,7 @@
+Testname: patch-systems-quilt-debian-changes
+Sequence: 6000
+Version: 1.0-1
+Description: Test a 3.0 (quilt) package which has a debian-changes-XXX patch
+Type: non-native
+Test-For:
+ format-3.0-but-debian-changes-patch
diff --git a/t/tests/patch-systems-quilt-debian-changes/tags 
b/t/tests/patch-systems-quilt-debian-changes/tags
new file mode 100644
index 0000000..a1c46dd
--- /dev/null
+++ b/t/tests/patch-systems-quilt-debian-changes/tags
@@ -0,0 +1 @@
+W: patch-systems-quilt-debian-changes source: 
format-3.0-but-debian-changes-patch
diff --git a/t/tests/patch-systems-quilt-debian-changes/upstream/a 
b/t/tests/patch-systems-quilt-debian-changes/upstream/a
new file mode 100644
index 0000000..c0acc64
--- /dev/null
+++ b/t/tests/patch-systems-quilt-debian-changes/upstream/a
@@ -0,0 +1 @@
+sample text

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to