cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Misc. SSH improvement patch

From: Daniel Johnson <daniel_at_daniel-johnson.org>
Date: Mon, 09 Apr 2007 12:16:26 -0400

On Apr 9, 2007, at 8:13 AM, Daniel Johnson wrote:

> On Apr 8, 2007, at 6:38 PM, Daniel Stenberg wrote:
>
>> On Fri, 6 Apr 2007, Nick Zitzmann wrote:
>>
>>> Yes, you're right. Here's the latest patch with that fixed.
>>
>> Thanks, applied!
>
> I noticed that this patch is causing tests 604, 606 and 607 to fail
> on my Mac OS X autobuilds. The build "Mac OS X 10.4.9 x86 gcc
> 4.0.1" is using libssh2 0.15-CVS while "Mac OS X 10.4.9 ppc gcc
> 4.0.1" is using 0.14. It looks like the error codes for the tests
> need to be adjusted to match the new behavior.
>

This patch should fix the tests:

cvs diff: Diffing .
Index: test604
===================================================================
RCS file: /cvsroot/curl/curl/tests/data/test604,v
retrieving revision 1.1
diff -u -r1.1 test604
--- test604 1 Apr 2007 06:28:12 -0000 1.1
+++ test604 9 Apr 2007 16:14:19 -0000
@@ -24,7 +24,7 @@
# Verify data after the test has been "shot"
<verify>
<errorcode>
-79
+78
</errorcode>
<valgrind>
disable
Index: test606
===================================================================
RCS file: /cvsroot/curl/curl/tests/data/test606,v
retrieving revision 1.1
diff -u -r1.1 test606
--- test606 4 Apr 2007 00:48:37 -0000 1.1
+++ test606 9 Apr 2007 16:14:19 -0000
@@ -24,7 +24,7 @@
# Verify data after the test has been "shot"
<verify>
<errorcode>
-2
+67
</errorcode>
<valgrind>
disable
Index: test607
===================================================================
RCS file: /cvsroot/curl/curl/tests/data/test607,v
retrieving revision 1.1
diff -u -r1.1 test607
--- test607 4 Apr 2007 00:48:37 -0000 1.1
+++ test607 9 Apr 2007 16:14:19 -0000
@@ -24,7 +24,7 @@
# Verify data after the test has been "shot"
<verify>
<errorcode>
-2
+67
</errorcode>
<valgrind>
disable
Received on 2007-04-09