diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-12-11 09:35:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-12-11 09:35:35 +0000 |
commit | 44958855f3199f12a680a5d670a85d30a6582482 (patch) | |
tree | f39a4a86f75078587356fcbdfd1e30e2bab9024b /t | |
parent | 98715db7ed815175ef30ee3c543792131d2823d4 (diff) | |
download | urpmi-44958855f3199f12a680a5d670a85d30a6582482.tar urpmi-44958855f3199f12a680a5d670a85d30a6582482.tar.gz urpmi-44958855f3199f12a680a5d670a85d30a6582482.tar.bz2 urpmi-44958855f3199f12a680a5d670a85d30a6582482.tar.xz urpmi-44958855f3199f12a680a5d670a85d30a6582482.zip |
get rid of a "Use of uninitialized value"
Diffstat (limited to 't')
-rw-r--r-- | t/superuser--rpm.t | 4 |
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"); } |