From ec4abdec09acaf48ca42ec0d6fae8d142c2903fa Mon Sep 17 00:00:00 2001 From: Joseph Herlant Date: Tue, 13 Nov 2018 20:15:49 -0800 Subject: [PATCH] CLEANUP: fix typos in reg-tests Fix typos in comments and error messages of reg-tests. Note that this has not been qualified as minor as it is used for testing purposes, not end-users. --- reg-tests/log/b00000.vtc | 2 +- reg-tests/lua/b00002.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reg-tests/log/b00000.vtc b/reg-tests/log/b00000.vtc index b28ac94d3..99a81cd90 100644 --- a/reg-tests/log/b00000.vtc +++ b/reg-tests/log/b00000.vtc @@ -8,7 +8,7 @@ # requiring LW_BYTES is set), the log is emitted after the connection is # closed, so the address and ports cannot be retrieved anymore. # -# It could be argued that we'd make a special case of these to immediatly +# It could be argued that we'd make a special case of these to immediately # retrieve the source and destination addresses from the connection, but it # seems cleaner to simply pin the front connection, marking it "tracked" by # adding the LW_XPRT flag to mention that we'll need some of these elements diff --git a/reg-tests/lua/b00002.lua b/reg-tests/lua/b00002.lua index 41e5eeeb5..dd5623c15 100644 --- a/reg-tests/lua/b00002.lua +++ b/reg-tests/lua/b00002.lua @@ -106,7 +106,7 @@ core.Info("4") repeat local d = socket:receive(res.contentlength) if d == nil then --- core.Info("luacurl, ERROR?: recieved NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar") +-- core.Info("luacurl, ERROR?: received NIL, expecting "..res.contentlength.." bytes only got "..string.len(res.body).." sofar") return else res.body = res.body..d @@ -116,7 +116,7 @@ core.Info("4") break end end --- core.Info("processhttpresponse, Loopy, get more body data! to recieve complete contentlenght") +-- core.Info("processhttpresponse, Loopy, get more body data! to receive complete contentlenght") until false end if res.headers["Transfer-Encoding"] ~= nil and res.headers["Transfer-Encoding"] == "chunked" then