summaryrefslogtreecommitdiffstats
path: root/t/superuser--file-conflicts.t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-07-02 10:02:29 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-07-02 16:00:48 +0200
commit99ea7f866713a84fcc027b1d584546bb0169ee0e (patch)
tree8a49c496cc8bcd3dcf31e8dc7b46816118a2f43d /t/superuser--file-conflicts.t
parent793a3c1b2cabe9277e02b7b32e25132cca710137 (diff)
downloadurpmi-99ea7f866713a84fcc027b1d584546bb0169ee0e.tar
urpmi-99ea7f866713a84fcc027b1d584546bb0169ee0e.tar.gz
urpmi-99ea7f866713a84fcc027b1d584546bb0169ee0e.tar.bz2
urpmi-99ea7f866713a84fcc027b1d584546bb0169ee0e.tar.xz
urpmi-99ea7f866713a84fcc027b1d584546bb0169ee0e.zip
adapt testsuite to rpm-4.14.2 RC1
we need to define %_pkgverify_level to none else locally build packages will derail the testsuite as some pkg installations will fail with eg: package nls-1.0-2.i386 does not verify: no digest
Diffstat (limited to 't/superuser--file-conflicts.t')
-rw-r--r--t/superuser--file-conflicts.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/superuser--file-conflicts.t b/t/superuser--file-conflicts.t
index 941eb669..6528d2c2 100644
--- a/t/superuser--file-conflicts.t
+++ b/t/superuser--file-conflicts.t
@@ -184,7 +184,7 @@ sub test_rpm_i_fail {
system_should_fail("rpm --root $::pwd/root -i $rpms");
}
sub check_no_etc_files() {
- if (my @l = grep { !m!/urpmi$! } glob("$::pwd/root/etc/*")) {
+ if (my @l = grep { !m!/urpmi|rpm$! } glob("$::pwd/root/etc/*")) {
fail(join(' ', @l) . " files should not be there");
}
}