summaryrefslogtreecommitdiffstats
path: root/t/superuser--rpmnew.t
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-14 11:28:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-14 11:28:41 +0000
commitedabe9d4501ff5c70b18f85e15c4cd6fc0689cac (patch)
treea8009e7c437bacdd0c63676832ec829235058bbb /t/superuser--rpmnew.t
parent4649f78ef3be666c889607c8b96f0fbe22ee4f12 (diff)
downloadurpmi-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/superuser--rpmnew.t')
-rw-r--r--t/superuser--rpmnew.t9
1 files changed, 7 insertions, 2 deletions
diff --git a/t/superuser--rpmnew.t b/t/superuser--rpmnew.t
index 8c71b02c..4aa530e7 100644
--- a/t/superuser--rpmnew.t
+++ b/t/superuser--rpmnew.t
@@ -43,8 +43,13 @@ sub test2 {
['orig', 'orig', 'orig'],
['changed', 'changed', 'changed']);
- ok(unlink "$::pwd/root/etc/config.rpmorig");
- ok(unlink "$::pwd/root/etc/config-noreplace.rpmnew");
+ if (rpm_is_jbj_version()) {
+ #- WARNING: those files have no added value
+ #- (since the file was created with same content)
+ #- and should not be there
+ ok(unlink "$::pwd/root/etc/config.rpmorig");
+ ok(unlink "$::pwd/root/etc/config-noreplace.rpmnew");
+ }
check_no_etc_files();
}