summaryrefslogtreecommitdiffstats
path: root/t/superuser--media_info_dir.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-27 12:14:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-27 12:14:19 +0000
commitbca32182ad43ddbcab36eefb467822f14fd77cef (patch)
treec987a7bee49ac7595cf2b8c1d5f56e3672f76b1e /t/superuser--media_info_dir.t
parent5d9dc5e7611430e4b3fe7f16c0060cd47c31fa2e (diff)
downloadurpmi-bca32182ad43ddbcab36eefb467822f14fd77cef.tar
urpmi-bca32182ad43ddbcab36eefb467822f14fd77cef.tar.gz
urpmi-bca32182ad43ddbcab36eefb467822f14fd77cef.tar.bz2
urpmi-bca32182ad43ddbcab36eefb467822f14fd77cef.tar.xz
urpmi-bca32182ad43ddbcab36eefb467822f14fd77cef.zip
- move some test from superuser--media_info_dir.t into superuser--rpm.t
- add a test
Diffstat (limited to 't/superuser--media_info_dir.t')
-rw-r--r--t/superuser--media_info_dir.t9
1 files changed, 0 insertions, 9 deletions
diff --git a/t/superuser--media_info_dir.t b/t/superuser--media_info_dir.t
index 7ba9f0c9..7d2a18d2 100644
--- a/t/superuser--media_info_dir.t
+++ b/t/superuser--media_info_dir.t
@@ -26,8 +26,6 @@ sub rpm_v3 {
system_("rpm --root $::pwd/root -i --noscripts media/rpm-v3/*.i386.rpm");
check_installed_names(@names);
- rebuilddb(); # why here? well, why not
- check_installed_names(@names);
system_("rpm --root $::pwd/root -e --noscripts " . join(' ', @names));
is(`rpm -qa --root $::pwd/root`, '');
@@ -53,10 +51,3 @@ sub rpm_v3 {
is($arch, $wanted_arch, "$fullname should have arch $wanted_arch (found $arch)");
}
}
-
-sub rebuilddb {
- # testing rebuilddb (could be done elsewhere, but here is
- system_("rpm --root $::pwd/root --rebuilddb");
- my ($dir) = glob("$::pwd/root/var/lib/rpmrebuilddb*");
- is($dir, undef, "$dir should not be there");
-}