aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-11 15:11:41 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-11 15:11:41 +0000
commit813911db595d5a4ae8d0f870d2bb84058f696b6b (patch)
tree1118819cd736c148acacd4ee80296f955a8511d0 /tests/runtests.pl
parent3c49b405de4fbf1fd7127f91908261268640e54f (diff)
more nonewline support
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index a9b6e6ff3..c7c95a222 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -471,6 +471,14 @@ sub singletest {
if (@replycheck) {
# we use this file instead to check the final output against
+
+ my %hash = getpartattr("reply", "datacheck");
+ if($hash{'nonewline'}) {
+ # Yes, we must cut off the final newline from the final line
+ # of the datacheck
+ chomp($replycheck[$#replycheck]);
+ }
+
@reply=@replycheck;
}