From 713641fb2fd3f9e8b097329d6e210e653ceb9714 Mon Sep 17 00:00:00 2001 From: d33tah Date: Wed, 17 Jul 2013 21:41:22 +0000 Subject: [PATCH] fix the Lua tests. --- ncat/test/toupper.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ncat/test/toupper.lua b/ncat/test/toupper.lua index a8ab4e17c..7b9d79a17 100644 --- a/ncat/test/toupper.lua +++ b/ncat/test/toupper.lua @@ -2,12 +2,13 @@ while true do - data = io.stdin:read(1024) + data = io.stdin:read(1) if data == nil then break end io.write(data:upper()) + io.flush() end