From: Martin Mares Date: Fri, 10 Feb 2012 22:11:04 +0000 (+0100) Subject: Tester: Do not be picky about final newlines X-Git-Tag: v5.0~75 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f9b678a9ecb9077c0f96d65eff602b781c2551b4;p=libucw.git Tester: Do not be picky about final newlines --- diff --git a/build/tester b/build/tester index f66713e1..ea1a6a31 100755 --- a/build/tester +++ b/build/tester @@ -125,6 +125,7 @@ TEST: foreach $tt (@tests) { $out = ; } close X; + $out =~ /\n$/s or $out .= "\n"; if ($out ne $out_checks[$i] . "\n") { print "FAILED (see $ofi)\n"; $errors++;