1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

selftest/Subunit.pm: fix perl warnings

Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136

metze
This commit is contained in:
Stefan Metzmacher 2010-08-28 09:42:10 +02:00
parent 67522702ac
commit 8e6f673929

View File

@ -133,7 +133,7 @@ sub end_test($$;$)
if ($reason) {
print "$result: $name [\n";
print $reason;
if (substr($reason, -1, 1) != "\n") { print "\n"; }
if (substr($reason, -1, 1) ne "\n") { print "\n"; }
print "]\n";
} else {
print "$result: $name\n";