diff options
Diffstat (limited to 't/superuser--addmedia.t')
-rw-r--r-- | t/superuser--addmedia.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t index 30d7fdda..1c1c41b2 100644 --- a/t/superuser--addmedia.t +++ b/t/superuser--addmedia.t @@ -15,6 +15,8 @@ my @names = ($name, $name2, $name3, 'bis'); my @fields = qw(hdlist synthesis with_synthesis media_info_dir no-media-info list virtual ignore); +test_reconfig(); + try_media_d_1(); try_media_d_2(); @@ -165,3 +167,10 @@ sub try_media_d_2 { ok(unlink media_d_cfg($name)); } + +sub test_reconfig { + urpmi_addmedia("reconfig $::pwd/media/reconfig"); + check_conf({ name => 'reconfig', url => "$::pwd/media/$name" }); + check_urpmi($name); + urpmi_removemedia('-a'); +} |