summaryrefslogtreecommitdiffstats
path: root/t/superuser--addmedia.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-04 16:03:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-04 16:03:42 +0000
commitd8adfd8eea79b565adea38d6f6c104b0425ab64b (patch)
tree169a427176b4e5963519d3cc4634ebcc3b6fb013 /t/superuser--addmedia.t
parent19b5f3fb3cf80410cdd12784028242cf5956ca4f (diff)
downloadurpmi-d8adfd8eea79b565adea38d6f6c104b0425ab64b.tar
urpmi-d8adfd8eea79b565adea38d6f6c104b0425ab64b.tar.gz
urpmi-d8adfd8eea79b565adea38d6f6c104b0425ab64b.tar.bz2
urpmi-d8adfd8eea79b565adea38d6f6c104b0425ab64b.tar.xz
urpmi-d8adfd8eea79b565adea38d6f6c104b0425ab64b.zip
adapt to "media_info_dir: media_info" being the default
Diffstat (limited to 't/superuser--addmedia.t')
-rw-r--r--t/superuser--addmedia.t20
1 files changed, 10 insertions, 10 deletions
diff --git a/t/superuser--addmedia.t b/t/superuser--addmedia.t
index aa192a0a..7db489b5 100644
--- a/t/superuser--addmedia.t
+++ b/t/superuser--addmedia.t
@@ -12,18 +12,18 @@ my $name = 'various';
my $name2 = 'various2';
my $name3 = 'various3';
-my @fields = qw(hdlist synthesis with_synthesis media_info_dir list virtual ignore);
+my @fields = qw(hdlist synthesis with_synthesis media_info_dir no-media-info list virtual ignore);
-try_medium({ media_info_dir => 'media_info' }, '');
+try_medium({}, '');
-try_medium_({}, {},
+try_medium_({ 'no-media-info' => 1 }, { 'no-media-info' => 1 },
'--probe-rpms', '--probe-rpms');
-try_medium({ media_info_dir => 'media_info' },
+try_medium({},
'--probe-hdlist');
-try_medium({ media_info_dir => 'media_info' },
+try_medium({},
'with media_info/hdlist.cz');
try_medium({
with_synthesis => "../media_info/synthesis.hdlist_$name.cz",
@@ -32,9 +32,9 @@ try_medium({
"with ../media_info/hdlist_$name2.cz",
);
-try_medium({ media_info_dir => 'media_info' },
+try_medium({},
'--probe-synthesis');
-try_medium({ media_info_dir => 'media_info' },
+try_medium({},
'with media_info/synthesis.hdlist.cz');
try_medium({
with_synthesis => "../media_info/synthesis.hdlist_$name.cz",
@@ -42,10 +42,10 @@ try_medium({
"with ../media_info/synthesis.hdlist_$name.cz",
"with ../media_info/synthesis.hdlist_$name2.cz");
-try_distrib({ media_info_dir => 'media_info' }, '');
-try_distrib({ media_info_dir => 'media_info' },
+try_distrib({}, '');
+try_distrib({},
'--probe-hdlist');
-try_distrib({ media_info_dir => 'media_info' },
+try_distrib({},
'--probe-synthesis');
try_distrib_removable({
with_synthesis => "../..//media/media_info/synthesis.hdlist_$name.cz",