commit cd088f26608d1a38ddd0807928d8125f90d412c1
parent 3eb16e24c59a80b8481b599b4b3627aa37d6eb56
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Tue, 19 Apr 2016 21:59:44 +0200
t/19-unit.t: capture output from commands
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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';