From 5993b7166ae289fda3447bfa4716f728422fe5d4 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 8 Dec 2006 10:29:05 +0000 Subject: remove function now in helper --- t/superuser--exclude.t | 7 ------- 1 file changed, 7 deletions(-) (limited to 't') diff --git a/t/superuser--exclude.t b/t/superuser--exclude.t index 24abb189..f7f14405 100644 --- a/t/superuser--exclude.t +++ b/t/superuser--exclude.t @@ -67,13 +67,6 @@ sub cmdline2hash { $option =~ /--(\S+)\s*(\S*)/ ? { $1 => $2 } : {}; } -sub set_urpmi_cfg_global_options { - my ($options) = @_; - my $f = "root/etc/urpmi/urpmi.cfg"; - my $config = urpm::cfg::load_config($f); - $config->{global} = $options; - ok(urpm::cfg::dump_config($f, $config), 'config written'); -} sub filter_urpmi_rpm_files { grep { !m!^(/dev/null|/etc/urpmi|/etc/rpm/macros|/var/(cache|lib)/(urpmi|rpm))! } @_; -- cgit v1.2.1