[debhelper-devel] [debhelper] 05/17: t: Quiet dh_missing.t test

Niels Thykier nthykier at moszumanska.debian.org
Sat Apr 8 08:58:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 26e3471f33ee27379c9dcab051dafddd4e1ba6aa
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Apr 3 09:32:44 2017 +0000

    t: Quiet dh_missing.t test
---
 t/dh_missing/dh_missing.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/dh_missing/dh_missing.t b/t/dh_missing/dh_missing.t
index d735766..6cd80ea 100755
--- a/t/dh_missing/dh_missing.t
+++ b/t/dh_missing/dh_missing.t
@@ -35,7 +35,7 @@ is(system("$rootcmd $TOPDIR/dh_missing --fail-missing"), 0, 'dh_missing failed')
 system("$rootcmd $TOPDIR/dh_clean");
 system("$rootcmd make installmore");
 system("PATH=$TOPDIR:\$PATH $rootcmd $TOPDIR/dh_install");
-system("$rootcmd $TOPDIR/dh_missing --fail-missing");
+system("$rootcmd $TOPDIR/dh_missing --fail-missing >/dev/null 2>&1");
 isnt($?, -1, 'dh_missing was executed');
 ok(! ($? & 127), 'dh_missing did not die due to a signal');
 my $exitcode = ($? >> 8);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list