diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2006-11-30 17:57:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2006-11-30 17:57:43 +0000 |
commit | 62c1446f09cc16428431510218e5e4f1e06271f3 (patch) | |
tree | a0a3601c5138ac60d2a92752b196ab6bea6c4008 /t/superuser--http.t | |
parent | 981c22ad5c1752789bbccd1e09302c2123d930d2 (diff) | |
download | urpmi-62c1446f09cc16428431510218e5e4f1e06271f3.tar urpmi-62c1446f09cc16428431510218e5e4f1e06271f3.tar.gz urpmi-62c1446f09cc16428431510218e5e4f1e06271f3.tar.bz2 urpmi-62c1446f09cc16428431510218e5e4f1e06271f3.tar.xz urpmi-62c1446f09cc16428431510218e5e4f1e06271f3.zip |
more tests, clean some others, enhance helper.pm
Diffstat (limited to 't/superuser--http.t')
-rw-r--r-- | t/superuser--http.t | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/t/superuser--http.t b/t/superuser--http.t new file mode 100644 index 00000000..85ef1d1c --- /dev/null +++ b/t/superuser--http.t @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use strict; +use lib '.', 't'; +use helper; +use Test::More 'no_plan'; + + +need_root_and_prepare(); +my $url = start_httpd(); + +my $name = 'various'; + +foreach my $medium_name ('various', 'various_no_subdir') { + urpmi_addmedia("$medium_name $url/media/$medium_name"); + urpmi($name); + is(`rpm -qa --root $::pwd/root`, "$name-1-1\n"); + urpme($name); + urpmi_removemedia($medium_name); +} |