From: David Levine Date: Sun, 13 Jan 2013 15:17:47 +0000 (-0600) Subject: Added check of m_getfld() handling of fields with trailing X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/16e26eedfe95341899e0a7b3793d1a9895e198f0?hp=-c Added check of m_getfld() handling of fields with trailing whitespace to test-inc-scanout.' --- 16e26eedfe95341899e0a7b3793d1a9895e198f0 diff --git a/test/inc/test-inc-scanout b/test/inc/test-inc-scanout index c2a202cc..7826af45 100755 --- a/test/inc/test-inc-scanout +++ b/test/inc/test-inc-scanout @@ -213,6 +213,18 @@ scan: eof encountered in field "Received" ??Format error (message -1) in component 2 EOF +# check m_getfld() handling of fields with trailing whitespace +# Even though header field names aren't supposed to have spaces (RFC +# 28220, m_getfld () trims trailing whitespace from them. +cat >`mhpath new` <"$actual" 2>"$actual_err"