git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6752270
)
selftest/Subunit.pm: fix perl warnings
author
Stefan Metzmacher
<metze@samba.org>
Sat, 28 Aug 2010 07:42:10 +0000
(09:42 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 28 Aug 2010 08:59:18 +0000
(10:59 +0200)
Argument "\n" isn't numeric in numeric ne (!=) at selftest/Subunit.pm line 136
metze
selftest/Subunit.pm
patch
|
blob
|
history
diff --git
a/selftest/Subunit.pm
b/selftest/Subunit.pm
index d5c8277fcaa9decb4fa37f8b76d8fbeb805dbe22..7a352bd71b0084c945e802747651a19963437d82 100644
(file)
--- a/
selftest/Subunit.pm
+++ b/
selftest/Subunit.pm
@@
-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";