From dc8279c2b87289bc6bc1cc4a04a719615c9d675d Mon Sep 17 00:00:00 2001 From: David Levine Date: Tue, 20 Dec 2016 11:49:20 -0500 Subject: [PATCH] Added check of -fcc with no fcc in components. --- test/comp/test-comp-format | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/test/comp/test-comp-format b/test/comp/test-comp-format index 30747c72..a7bc502f 100755 --- a/test/comp/test-comp-format +++ b/test/comp/test-comp-format @@ -69,6 +69,7 @@ fcc1="+nosuchmailbox" fcc2="+nosuchmailbox2" subject="Totally bogus subject" +start_test 'check -from, -to, -cc, -fcc, and -subject switches' cat > $expected < $form <%(void(width))%(putaddr From: ) +%<{to}%(void(width))%(putaddr To: )%|To:%> +%<{cc}%(void(width))%(putaddr cc: )%|cc:%> +Subject:%<{subject} %(putstr)%> +-------- +EOF +#### There won't be an Fcc: header because there isn't one in the components. +cat > $expected <