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

[SCM] Debian package checker branch, master, updated. 2.4.3-9-gc5f2aa7



The following commit has been merged in the master branch:
commit 3b540dd585347df203362346384d8e839e4a0241
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sat Aug 21 22:56:01 2010 -0500

    Add a test to make sure no tag name is longer than 68 characters

diff --git a/t/scripts/tags.t b/t/scripts/tags.t
index 8c5de47..35ca2bd 100755
--- a/t/scripts/tags.t
+++ b/t/scripts/tags.t
@@ -40,6 +40,8 @@ for my $desc_file (@DESCS) {
 		or diag("$desc_file: $i->{'tag'}\n");
 	    ok(exists $i->{'info'}, "Tag has info")
 		or diag("$desc_file: $i->{'tag'}\n");
+	    cmp_ok(length($i->{'tag'}), '<=', 68, "Tag is not too long")
+		or diag("$desc_file: $i->{'tag'}\n");
 
 	    my $info = $i->{'info'} || '';
 

-- 
Debian package checker


Reply to: