summaryrefslogtreecommitdiffstats
path: root/t/helper.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-04 14:41:48 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-04 14:41:48 +0000
commitf2be43ab69e87c9c3ded8db93ab3b499acf04dfb (patch)
tree0c1fd62bd43c08c001e2f1df992e14066b97a274 /t/helper.pm
parentdf5123679ef7ebbb718fc872af7c332e55903998 (diff)
downloadurpmi-f2be43ab69e87c9c3ded8db93ab3b499acf04dfb.tar
urpmi-f2be43ab69e87c9c3ded8db93ab3b499acf04dfb.tar.gz
urpmi-f2be43ab69e87c9c3ded8db93ab3b499acf04dfb.tar.bz2
urpmi-f2be43ab69e87c9c3ded8db93ab3b499acf04dfb.tar.xz
urpmi-f2be43ab69e87c9c3ded8db93ab3b499acf04dfb.zip
drop support for rpm5
Diffstat (limited to 't/helper.pm')
-rw-r--r--t/helper.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/t/helper.pm b/t/helper.pm
index 1980abb1..e1ae6655 100644
--- a/t/helper.pm
+++ b/t/helper.pm
@@ -8,7 +8,6 @@ our @EXPORT = qw(need_root_and_prepare
urpm_cmd run_urpm_cmd urpmi_cmd urpmi urpmi_partial test_urpmi_fail urpme
urpmi_cfg set_urpmi_cfg_global_options
system_ system_should_fail
- rpm_is_jbj_version
check_installed_fullnames check_installed_names check_nothing_installed
check_installed_and_remove check_installed_fullnames_and_remove check_installed_and_urpme
);
@@ -124,11 +123,6 @@ sub system_should_fail {
: ok($? != 0, "should fail: $cmd");
}
-sub rpm_is_jbj_version {
- # checking for --yaml support
- `rpm --help` =~ /yaml/;
-}
-
sub check_installed_fullnames {
my (@names) = @_;
is(`rpm -qa --root $::pwd/root | sort`, join('', map { "$_\n" } sort(@names)));