diff options
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 231d75675..6a5f4a05d 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2042,6 +2042,12 @@ sub singletest { map s/\r\n/\n/g, @actual; } + if($hash{'nonewline'}) { + # Yes, we must cut off the final newline from the final line + # of the protocol data + chomp($validstdout[$#validstdout]); + } + $res = compare("stdout", \@actual, \@validstdout); if($res) { return 1; |