summaryrefslogtreecommitdiffstats
path: root/t/02create_pkgs.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-16 12:05:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-16 12:05:28 +0000
commit6dd0990b8503fb44382974ae548e92bdbc3f3c70 (patch)
tree1e9884888d4311404ccaa7b50accc5240f129d9c /t/02create_pkgs.t
parent7a72701472aa7e197f4e0b4ac3bcae309f6abb2f (diff)
downloadurpmi-6dd0990b8503fb44382974ae548e92bdbc3f3c70.tar
urpmi-6dd0990b8503fb44382974ae548e92bdbc3f3c70.tar.gz
urpmi-6dd0990b8503fb44382974ae548e92bdbc3f3c70.tar.bz2
urpmi-6dd0990b8503fb44382974ae548e92bdbc3f3c70.tar.xz
urpmi-6dd0990b8503fb44382974ae548e92bdbc3f3c70.zip
use system_() from helper.pm
Diffstat (limited to 't/02create_pkgs.t')
-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);
-}