summaryrefslogtreecommitdiffstats
path: root/t/superuser--exclude.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-12-08 10:29:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-12-08 10:29:05 +0000
commit5993b7166ae289fda3447bfa4716f728422fe5d4 (patch)
tree456a32116e1486af8ade03ce8c622270319930d1 /t/superuser--exclude.t
parent4e0c51972157e8bca3c7445e6720b51ee3600e5b (diff)
downloadurpmi-5993b7166ae289fda3447bfa4716f728422fe5d4.tar
urpmi-5993b7166ae289fda3447bfa4716f728422fe5d4.tar.gz
urpmi-5993b7166ae289fda3447bfa4716f728422fe5d4.tar.bz2
urpmi-5993b7166ae289fda3447bfa4716f728422fe5d4.tar.xz
urpmi-5993b7166ae289fda3447bfa4716f728422fe5d4.zip
remove function now in helper
Diffstat (limited to 't/superuser--exclude.t')
-rw-r--r--t/superuser--exclude.t7
1 files changed, 0 insertions, 7 deletions
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))! } @_;