Commit 95fd093c authored by Yang Tse's avatar Yang Tse
Browse files

Remove fflush() + fsync() previously introduced accelerated writing of

server input and response request files of the test harness sws server.

Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.

http://curl.haxx.se/mail/lib-2008-04/0385.html
parent ed1ad28e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2000,8 +2000,6 @@ AC_CHECK_FUNCS( strtoll \
                strcasecmp \
                stricmp \
                strcmpi \
                fflush \
                fsync \
                gethostbyaddr \
                gettimeofday \
                inet_addr \
+0 −6
Original line number Diff line number Diff line
@@ -136,12 +136,6 @@
/* Define if you don't have vprintf but do have _doprnt.  */
/* #define HAVE_DOPRNT 1 */

/* Define if you have the fflush function.  */
#define HAVE_FFLUSH 1

/* Define if you have the fsync function.  */
/* #define HAVE_FSYNC 1 */

/* Define if you have the gethostbyaddr function.  */
#define HAVE_GETHOSTBYADDR 1

+0 −8
Original line number Diff line number Diff line
@@ -127,14 +127,6 @@
/* Define if you don't have vprintf but do have _doprnt.  */
/* #define HAVE_DOPRNT 1 */

/* Define if you have the fflush function.  */
#if defined(_WIN32_WCE) && (_WIN32_WCE >= 200)
#  define HAVE_FFLUSH 1
#endif

/* Define if you have the fsync function.  */
/* #define HAVE_FSYNC 1 */

/* Define if you have the gethostbyaddr function.  */
#define HAVE_GETHOSTBYADDR 1

+0 −6
Original line number Diff line number Diff line
@@ -75,12 +75,6 @@
/* Define if you have the setmode function. */
#define HAVE_SETMODE 1

/* Define if you have the fflush function.  */
#define HAVE_FFLUSH 1

/* Define if you have the fsync function.  */
/* #define HAVE_FSYNC 1 */

/* Define if you have the ftruncate function.  */
#define HAVE_FTRUNCATE 1

+3 −0
Original line number Diff line number Diff line
@@ -71,6 +71,9 @@ http://%HOSTIP:%HTTPPORT/1001 -u auser:apasswd --digest -T log/1001 -x http://%
<file name="log/1001">
test
</file>
<postcheck>
%SRCDIR/libtest/delay.pl 1
</postcheck>
</client>

# Verify data after the test has been "shot"
Loading