From f2be43ab69e87c9c3ded8db93ab3b499acf04dfb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 4 Oct 2012 14:41:48 +0000 Subject: drop support for rpm5 --- t/helper.pm | 6 ------ 1 file changed, 6 deletions(-) (limited to 't/helper.pm') 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))); -- cgit v1.2.1