The following commit has been merged in the master branch:
commit 5f4d8770b801c90f50025e16dbeb173013e7c810
Author: Russ Allbery <[email protected]>
Date:   Wed Dec 23 21:39:21 2009 -0800

    Fix exit status analysis of lintian in runtests

diff --git a/t/runtests b/t/runtests
index a7c71ca..e44ea19 100755
--- a/t/runtests
+++ b/t/runtests
@@ -424,8 +424,9 @@ sub test_package {
     } else {
        $status = spawn($opts, [ $LINTIAN, @options, $file ]);
     }
-    unless ($status == 0 or $status == (1 << 8)) {
-       fail("failed: @_\n");
+    unless ($status == 0 or $status == 1) {
+       print "FAILED:\n";
+       fail("$LINTIAN @options $file exited with status $status\n");
     }
     open(OUT, '>>', "$RUNDIR/tags.$pkg")
        or fail("cannot append to $RUNDIR/tags.$pkg: $!");

-- 
Debian package checker


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

Reply via email to