diff options
Diffstat (limited to 't/superuser--addmedia.t')
-rw-r--r-- | t/superuser--addmedia.t | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t index d43cbd50..ffe2ff14 100644 --- a/t/superuser--addmedia.t +++ b/t/superuser--addmedia.t @@ -17,9 +17,6 @@ my @fields = qw(hdlist synthesis with_synthesis media_info_dir no-media-info lis test_reconfig(); -try_media_d_1(); -try_media_d_2(); - try_medium({}, ''); @@ -149,25 +146,6 @@ sub check_urpmi { check_installed_and_remove(@names); } -sub try_media_d_1 { - create_media_d_cfg($name, { name => $name, url => "$::pwd/media/$name" }); - check_urpmi($name); - - create_media_d_cfg($name2, { name => $name2, url => "$::pwd/media/$name2" }); - check_urpmi($name2); - - ok(unlink media_d_cfg($name)); - ok(unlink media_d_cfg($name2)); -} -sub try_media_d_2 { - create_media_d_cfg($name, - { name => $name, url => "$::pwd/media/$name" }, - { name => $name2, url => "$::pwd/media/$name2" }); - check_urpmi($name, $name2); - - ok(unlink media_d_cfg($name)); -} - sub test_reconfig { urpmi_addmedia("reconfig $::pwd/media/reconfig"); check_conf({ name => 'reconfig', url => "$::pwd/media/$name" }); |