diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-23 15:35:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-23 15:35:42 +0000 |
commit | 0ff68bc2ce17ed97d22575c250c1d569638c1801 (patch) | |
tree | b96d13063852d4641b47d0bbd4d226291a48aa9e /t/superuser--addmedia.t | |
parent | c8ad0b363a3c21434f73e8fd921e41637a83d26b (diff) | |
download | urpmi-0ff68bc2ce17ed97d22575c250c1d569638c1801.tar urpmi-0ff68bc2ce17ed97d22575c250c1d569638c1801.tar.gz urpmi-0ff68bc2ce17ed97d22575c250c1d569638c1801.tar.bz2 urpmi-0ff68bc2ce17ed97d22575c250c1d569638c1801.tar.xz urpmi-0ff68bc2ce17ed97d22575c250c1d569638c1801.zip |
test reconfig.urpmi
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'); +} |