The following commit has been merged in the master branch:
commit 097f45374a4807a28efbce625eb8ed913149ff8c
Author: Adam D. Barratt <[email protected]>
Date:   Mon Feb 9 22:17:55 2009 +0000

    Handle epoched package versions

diff --git a/testset/filenames/debian/changelog 
b/testset/filenames/debian/changelog
index e936b33..a8bd8ad 100644
--- a/testset/filenames/debian/changelog
+++ b/testset/filenames/debian/changelog
@@ -1,4 +1,4 @@
-filenames (12-0.1) unstable; urgency=low
+filenames (1:12-0.1) unstable; urgency=low
 
   * /me is doing a correct NMU of this package.
 
diff --git a/testset/runtests b/testset/runtests
index 0759f7e..705577b 100755
--- a/testset/runtests
+++ b/testset/runtests
@@ -261,6 +261,7 @@ for (@tests) {
     $line =~ s/\).*$//;
     
     my ($pkg, $ver) = ($pkgdir, $line);
+    $ver =~ s/(^|-)\d+:/$1/;
     print "Running test on $pkg $ver: copying... ";
 
     print "Cleaning up and repopulating $rundir/$pkgdir...\n" if $debug;

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to