From 6dd0990b8503fb44382974ae548e92bdbc3f3c70 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 16 Oct 2007 12:05:28 +0000 Subject: use system_() from helper.pm --- t/02create_pkgs.t | 9 ++------- 1 file 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); -} -- cgit v1.2.1