summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--t/superuser--media_info_dir.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t
index d82b7042..2a2ba334 100644
--- a/t/superuser--media_info_dir.t
+++ b/t/superuser--media_info_dir.t
@@ -58,9 +58,14 @@ sub urpmi_force_skip_unknown {
sub rpm_v3 {
my @names = qw(libtermcap nls p2c);
- system_("rpm --root $::pwd/root -i --noscripts media/rpm-v3/*.i386.rpm");
+ system_("rpm --root $::pwd/root -i --ignorearch --noscripts media/rpm-v3/*.i386.rpm");
check_installed_names(@names);
+ foreach ('/lib/libtermcap.so.2.0.8', '/usr/lib/libp2c.so.1.2.0', '/usr/X11R6/lib/X11/nls/C') {
+ ok(-e "root$_", "root$_ should exist");
+ ok(-s "root$_", "root$_ should not be empty");
+ }
+
system_("rpm --root $::pwd/root -e --noscripts " . join(' ', @names));
is(`rpm -qa --root $::pwd/root`, '');