summaryrefslogtreecommitdiffstats
path: root/t/superuser--file-conflicts.t
diff options
context:
space:
mode:
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");
}
}