diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-11-14 11:28:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-11-14 11:28:41 +0000 |
commit | edabe9d4501ff5c70b18f85e15c4cd6fc0689cac (patch) | |
tree | a8009e7c437bacdd0c63676832ec829235058bbb /t/helper.pm | |
parent | 4649f78ef3be666c889607c8b96f0fbe22ee4f12 (diff) | |
download | urpmi-edabe9d4501ff5c70b18f85e15c4cd6fc0689cac.tar urpmi-edabe9d4501ff5c70b18f85e15c4cd6fc0689cac.tar.gz urpmi-edabe9d4501ff5c70b18f85e15c4cd6fc0689cac.tar.bz2 urpmi-edabe9d4501ff5c70b18f85e15c4cd6fc0689cac.tar.xz urpmi-edabe9d4501ff5c70b18f85e15c4cd6fc0689cac.zip |
allow to run tests on 4.4.2.2 which gives a few different results
Diffstat (limited to 't/helper.pm')
-rw-r--r-- | t/helper.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/helper.pm b/t/helper.pm index d7880b73..210aadd6 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -8,6 +8,7 @@ our @EXPORT = qw(need_root_and_prepare urpm_cmd urpmi_cmd urpmi 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 ); @@ -96,6 +97,10 @@ 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) = @_; |