diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-19 21:59:44 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-19 21:59:44 +0200 |
commit | cd088f26608d1a38ddd0807928d8125f90d412c1 (patch) | |
tree | 1a7f1180b57dfcd89d9fdc77b3f2ac1383f7d814 | |
parent | 3eb16e24c59a80b8481b599b4b3627aa37d6eb56 (diff) | |
download | sbotools2-cd088f26608d1a38ddd0807928d8125f90d412c1.tar.xz |
t/19-unit.t: capture output from commands
-rwxr-xr-x | t/19-unit.t | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |