Hi,

This patch fixes 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.
Let me know if I need to re-qualify the patch as MINOR (and split it
as one part is comment, one part is info messages).

The patch is attached, but if you want to view the diff online, you
can check: 
https://github.com/haproxy/haproxy/compare/master...aerostitch:cleanup_regtests_typos

Thanks for your help,
Joseph
From f202d9aac1327d13a43209fc4bc0a634d6784cdf Mon Sep 17 00:00:00 2001
From: Joseph Herlant <aerosti...@debian.org>
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 b28ac94d..99a81cd9 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 41e5eeeb..dd5623c1 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
-- 
2.19.1

Reply via email to