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

[SCM] Debian package checker branch, master, updated. 2.2.18-33-g3cfd89c



The following commit has been merged in the master branch:
commit 5f4d8770b801c90f50025e16dbeb173013e7c810
Author: Russ Allbery <rra@debian.org>
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


Reply to: