summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/02create_pkgs.t9
1 files changed, 2 insertions, 7 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index 42978b09..7d63037b 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -1,7 +1,8 @@
#!/usr/bin/perl
use strict;
-use warnings;
+use lib '.', 't';
+use helper;
use Test::More 'no_plan';
chdir 't' if -d 't';
@@ -80,9 +81,3 @@ sub rpmbuild_srpm {
$medium_name;
}
-
-sub system_ {
- my ($cmd) = @_;
- system($cmd);
- ok($? == 0, $cmd);
-}