summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-12 16:11:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-12 16:35:18 +0200
commit9db207da071002b4eb671ba8500f1c26963e3859 (patch)
tree2f17bfbc96095eae01057fbac81f749a99cff59e
parent9ef235ed0a833be671600c5efc2e8bf456c03c96 (diff)
downloadsamba-9db207da071002b4eb671ba8500f1c26963e3859.tar.gz
samba-9db207da071002b4eb671ba8500f1c26963e3859.tar.bz2
samba-9db207da071002b4eb671ba8500f1c26963e3859.zip
selftest: Cope with strict.
-rwxr-xr-xselftest/selftest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 7bc14b12cb..aa3d79c5d7 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -641,7 +641,7 @@ sub read_testlist($)
while (<IN>) {
if (/-- TEST(-LOADLIST)? --\n/) {
- my $supports_loadlist = ($1 eq "-LOADLIST");
+ my $supports_loadlist = (defined($1) and $1 eq "-LOADLIST");
my $name = <IN>;
$name =~ s/\n//g;
my $env = <IN>;