From cd088f26608d1a38ddd0807928d8125f90d412c1 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 19 Apr 2016 21:59:44 +0200 Subject: t/19-unit.t: capture output from commands --- t/19-unit.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/19-unit.t') diff --git a/t/19-unit.t b/t/19-unit.t index 7370b42..917afa1 100755 --- a/t/19-unit.t +++ b/t/19-unit.t @@ -157,7 +157,7 @@ SKIP: { system(qw! rm -r /usr/sbo/repo !) if -d '/usr/sbo/repo'; local $config{REPO} = ''; - SBO::Lib::pull_sbo_tree(); + capture_merged { SBO::Lib::pull_sbo_tree(); }; ok (!-e '/usr/sbo/repo/SLACKBUILDS.TXT', 'SLACKBUILDS.TXT was not generated by pull_sbo_tree()'); system(qw! rm -r /usr/sbo/repo !) if -d '/usr/sbo/repo'; -- cgit v1.2.3