diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-24 02:44:16 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-24 02:44:16 +0000 |
commit | 35ca26da6599faf3c677c16171734f905c4d8fc1 (patch) | |
tree | e3eabab12c79257b4375e6fe06053c661e419d30 /t/cfg.t | |
parent | cb09736fef2b456d9e0fa0efd886339d26a451bd (diff) | |
download | urpmi-35ca26da6599faf3c677c16171734f905c4d8fc1.tar urpmi-35ca26da6599faf3c677c16171734f905c4d8fc1.tar.gz urpmi-35ca26da6599faf3c677c16171734f905c4d8fc1.tar.bz2 urpmi-35ca26da6599faf3c677c16171734f905c4d8fc1.tar.xz urpmi-35ca26da6599faf3c677c16171734f905c4d8fc1.zip |
I18N of error messages in urpm::cfg
Normalize key_ids to key-ids
Diffstat (limited to 't/cfg.t')
-rw-r--r-- | t/cfg.t | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,7 @@ update\\ 1 http://foo/bar/ { compress: 1 fuzzy: 1 keep: yes + key-ids: 123 update verify-rpm: yes } @@ -25,6 +26,7 @@ update\\ 1 http://foo/bar/ { update_2 ftp://foo/bar/ { hdlist: hdlist.update2.cz ignore + key_ids: 456 priority-upgrade: kernel synthesis with_hdlist: hdlist.update2.cz @@ -40,6 +42,7 @@ ok( urpm::cfg::dump_config($file.2, $config), 'config written' ); $cfgtext =~ s/\byes\b/1/g; $cfgtext =~ s/\bno\b/0/g; +$cfgtext =~ s/\bkey_ids\b/key-ids/g; my $cfgtext2 = cat_($file.2); $cfgtext2 =~ s/# generated.*\n//; is( $cfgtext, $cfgtext2, 'config is the same' ) |