summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/superuser--rpm.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/superuser--rpm.t b/t/superuser--rpm.t
index eb21355d..9405e87b 100644
--- a/t/superuser--rpm.t
+++ b/t/superuser--rpm.t
@@ -21,6 +21,6 @@ sub test_rpm_query_in_scriptlet {
sub rebuilddb {
# testing rebuilddb (could be done elsewhere, but here is
system_("rpm --root $::pwd/root --rebuilddb");
- my ($dir) = glob("$::pwd/root/var/lib/rpmrebuilddb*");
- is($dir, undef, "$dir should not be there");
+ my @dirs = glob("$::pwd/root/var/lib/rpmrebuilddb*");
+ is($dirs[0], undef, "@dirs should not be there");
}