cvs | 1 Nov 2006 19:33
Picon
Favicon

yangtse: curl/tests/libtest Makefile.am,1.40,1.41 lib518.c,1.13,1.14

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv19272/tests/libtest

Modified Files:
	Makefile.am lib518.c 
Log Message:
test 518 is all about testing libcurl functionality
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.

test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.

Index: lib518.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib518.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- lib518.c	31 Oct 2006 01:24:03 -0000	1.13
+++ lib518.c	1 Nov 2006 18:33:50 -0000	1.14
 <at>  <at>  -8,6 +8,10  <at>  <at> 
  * $Id$
  */

+/*
(Continue reading)

cvs | 1 Nov 2006 19:33
Picon
Favicon

yangtse: curl/tests runtests.pl,1.210,1.211

Update of /cvsroot/curl/curl/tests
In directory labb:/tmp/cvs-serv19272/tests

Modified Files:
	runtests.pl 
Log Message:
test 518 is all about testing libcurl functionality
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.

test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.

Index: runtests.pl
===================================================================
RCS file: /cvsroot/curl/curl/tests/runtests.pl,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- runtests.pl	31 Oct 2006 01:30:42 -0000	1.210
+++ runtests.pl	1 Nov 2006 18:33:50 -0000	1.211
 <at>  <at>  -1217,7 +1217,7  <at>  <at> 
         chomp $cmd;
         if($cmd) {
             my  <at> o;
-            if($testnum == 518) {
(Continue reading)

cvs | 1 Nov 2006 19:33
Picon
Favicon

yangtse: curl/tests/data Makefile.am,1.233,1.234 test537,NONE,1.1

Update of /cvsroot/curl/curl/tests/data
In directory labb:/tmp/cvs-serv19272/tests/data

Modified Files:
	Makefile.am 
Added Files:
	test537 
Log Message:
test 518 is all about testing libcurl functionality
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.

test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.

--- NEW FILE: test537 ---
#
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Accept-Ranges: bytes
(Continue reading)

cvs | 2 Nov 2006 01:33
Picon
Favicon

yangtse: curl/lib http_ntlm.c,1.55,1.56

Update of /cvsroot/curl/curl/lib
In directory labb:/tmp/cvs-serv19343/lib

Modified Files:
	http_ntlm.c 
Log Message:
prototype for gethostname is in unistd.h

Index: http_ntlm.c
===================================================================
RCS file: /cvsroot/curl/curl/lib/http_ntlm.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- http_ntlm.c	17 Oct 2006 21:32:56 -0000	1.55
+++ http_ntlm.c	2 Nov 2006 00:33:43 -0000	1.56
 <at>  <at>  -44,6 +44,10  <at>  <at> 
 #include <stdlib.h>
 #include <ctype.h>

+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #include "urldata.h"
 #include "sendf.h"
 #include "strequal.h"
cvs | 2 Nov 2006 01:34
Picon
Favicon

yangtse: curl/tests/libtest lib518.c,1.14,1.15

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv26825/tests/libtest

Modified Files:
	lib518.c 
Log Message:
check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h

Index: lib518.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib518.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- lib518.c	1 Nov 2006 18:33:50 -0000	1.14
+++ lib518.c	2 Nov 2006 00:34:21 -0000	1.15
 <at>  <at>  -29,7 +29,7  <at>  <at> 
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #endif
-#ifdef UNISTD_H
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
cvs | 2 Nov 2006 02:21
Picon
Favicon

yangtse: curl/tests/data test537,1.1,1.2

Update of /cvsroot/curl/curl/tests/data
In directory labb:/tmp/cvs-serv2881/curl/tests/data

Modified Files:
	test537 
Log Message:
Update protocol verification end of lines

Index: test537
===================================================================
RCS file: /cvsroot/curl/curl/tests/data/test537,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- test537	1 Nov 2006 18:33:50 -0000	1.1
+++ test537	2 Nov 2006 01:21:28 -0000	1.2
 <at>  <at>  -47,9 +47,9  <at>  <at> 
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-GET /537 HTTP/1.1
-Host: 127.0.0.1:%HTTPPORT
-Accept: */*
-
+GET /537 HTTP/1.1
+Host: 127.0.0.1:%HTTPPORT
+Accept: */*
+
 </protocol>
 </verify>
(Continue reading)

cvs | 2 Nov 2006 04:45
Picon
Favicon

yangtse: curl/tests/libtest lib518.c,1.15,1.16

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv1181/tests/libtest

Modified Files:
	lib518.c 
Log Message:
use our internal string functions and replace sprintf with snprintf

Index: lib518.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib518.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- lib518.c	2 Nov 2006 00:34:21 -0000	1.15
+++ lib518.c	2 Nov 2006 03:45:07 -0000	1.16
 <at>  <at>  -33,6 +33,7  <at>  <at> 
 #include <unistd.h>
 #endif

+#define _MPRINTF_REPLACE /* use our functions only */
 #include <mprintf.h>

 #ifdef HAVE_SYS_SELECT_H
 <at>  <at>  -140,7 +141,7  <at>  <at> 
     strcpy(strbuff, "INFINITY");
   else
 #endif
-    sprintf(strbuff, fmt, rl.rlim_cur);
+    snprintf(strbuff, sizeof(strbuff), fmt, rl.rlim_cur);
(Continue reading)

cvs | 2 Nov 2006 16:47
Picon
Favicon

yangtse: curl/tests/libtest lib518.c,1.16,1.17

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv7019/tests/libtest

Modified Files:
	lib518.c 
Log Message:
code cleanup

Index: lib518.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib518.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- lib518.c	2 Nov 2006 03:45:07 -0000	1.16
+++ lib518.c	2 Nov 2006 15:47:24 -0000	1.17
 <at>  <at>  -32,6 +32,9  <at>  <at> 
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_LIMITS_H
+#include <limits.h>
+#endif

 #define _MPRINTF_REPLACE /* use our functions only */
 #include <mprintf.h>
 <at>  <at>  -114,7 +117,9  <at>  <at> 
   struct rlimit rl;
   char strbuff[256];
   char strbuff1[81];
(Continue reading)

cvs | 2 Nov 2006 21:50
Picon
Favicon

yangtse: curl/tests/libtest Makefile.am, 1.41, 1.42 lib518.c, 1.17, 1.18 lib537.c, NONE, 1.1

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv30463/tests/libtest

Modified Files:
	Makefile.am lib518.c 
Added Files:
	lib537.c 
Log Message:
update and split test cases 518 and 537 into its own source code file

Index: lib518.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib518.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- lib518.c	2 Nov 2006 15:47:24 -0000	1.17
+++ lib518.c	2 Nov 2006 20:50:18 -0000	1.18
 <at>  <at>  -8,56 +8,31  <at>  <at> 
  * $Id$
  */

-/*
- * This source code is used for lib518 and lib537.
- */
-
 #include "test.h"

 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
(Continue reading)

cvs | 2 Nov 2006 21:56
Picon
Favicon

yangtse: curl/tests/libtest lib537.c,1.1,1.2

Update of /cvsroot/curl/curl/tests/libtest
In directory labb:/tmp/cvs-serv4980/tests/libtest

Modified Files:
	lib537.c 
Log Message:
remove leftover comment

Index: lib537.c
===================================================================
RCS file: /cvsroot/curl/curl/tests/libtest/lib537.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- lib537.c	2 Nov 2006 20:50:18 -0000	1.1
+++ lib537.c	2 Nov 2006 20:56:40 -0000	1.2
 <at>  <at>  -8,10 +8,6  <at>  <at> 
  * $Id$
  */

-/*
- * This source code is used for lib518 and lib537.
- */
-
 #include "test.h"

 #ifdef HAVE_SYS_TYPES_H

Gmane