[R-gregmisc-commits] r2144 - pkg/gtools/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 24 21:48:15 CEST 2016


Author: warnes
Date: 2016-08-24 21:48:14 +0200 (Wed, 24 Aug 2016)
New Revision: 2144

Modified:
   pkg/gtools/tests/test_setTCPNoDelay.R
Log:
Add more testing code.

Modified: pkg/gtools/tests/test_setTCPNoDelay.R
===================================================================
--- pkg/gtools/tests/test_setTCPNoDelay.R	2016-08-15 19:17:44 UTC (rev 2143)
+++ pkg/gtools/tests/test_setTCPNoDelay.R	2016-08-24 19:48:14 UTC (rev 2144)
@@ -37,8 +37,7 @@
 setTCPNoDelay(socket, TRUE)
 
 write.socket(socket, "GET /\n\n")
+write.socket(socket, "A\0B\n")
 while( (str <- read.socket(socket)) > "")
   cat(str)
 close.socket(socket)
-
-read.socket(socket)
\ No newline at end of file



More information about the R-gregmisc-commits mailing list