Skip to content

Commit

Permalink
Extend rfc2047 testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandRosenfeld committed Sep 18, 2022
1 parent c605d5d commit 853ebdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/data/m_inmail.utf8.expected1
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ [email protected] First3 Family3 NO DATE
[email protected] First4 Family4 NO DATE
[email protected] "First5 Family5" NO DATE
[email protected] "First6 Family6" NO DATE
[email protected] First9 Günther NO DATE
1 change: 1 addition & 0 deletions tests/data/testmail1
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Resent-To: [email protected] ("First5 Family5")
X-Header1: <[email protected]> ("First6 Family6")
X-Header2: <[email protected]>
X-Header3: [email protected]
X-Header4: [email protected] (First9 =?UTF-8?Q?G=C3=BCnther?=)
Subject: lorem ipsum
Message-ID: <[email protected]>
References: <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion tests/m_inmail.at
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ AT_CHECK([cat $abs_srcdir/data/m_inmail.utf8.expected1 > expout])
AT_CHECK([cat $abs_srcdir/data/testmail1 > testmail1])
AT_CHECK([lbdb-fetchaddr -f m_inmail.utf8 -d "NO DATE" < testmail1 && \
lbdb-fetchaddr -f m_inmail.utf8 -d "NO DATE" \
-x x-header1:x-header2:x-header3 < testmail1 && \
-x x-header1:x-header2:x-header3:x-header4 < testmail1 && \
cat m_inmail.utf8], [], [expout])
AT_CLEANUP

Expand Down
4 changes: 2 additions & 2 deletions tests/testsuite
Original file line number Diff line number Diff line change
Expand Up @@ -2128,12 +2128,12 @@ $at_traceon; }
{ set +x
$as_echo "$at_srcdir/m_inmail.at:22: lbdb-fetchaddr -f m_inmail.utf8 -d \"NO DATE\" < testmail1 && \\
lbdb-fetchaddr -f m_inmail.utf8 -d \"NO DATE\" \\
-x x-header1:x-header2:x-header3 < testmail1 && \\
-x x-header1:x-header2:x-header3:x-header4 < testmail1 && \\
cat m_inmail.utf8"
at_fn_check_prepare_notrace 'an embedded newline' "m_inmail.at:22"
( $at_check_trace; lbdb-fetchaddr -f m_inmail.utf8 -d "NO DATE" < testmail1 && \
lbdb-fetchaddr -f m_inmail.utf8 -d "NO DATE" \
-x x-header1:x-header2:x-header3 < testmail1 && \
-x x-header1:x-header2:x-header3:x-header4 < testmail1 && \
cat m_inmail.utf8
) >>"$at_stdout" 2>>"$at_stderr" 5>&-
at_status=$? at_failed=false
Expand Down

0 comments on commit 853ebdd

Please sign in to comment.