t/imap_searchqp: hopefully fix test reliability
commit31ca305f28d747a094a2e82c8193ac5546c44cb5
authorEric Wong <e@80x24.org>
Sun, 28 Apr 2024 20:08:01 +0000 (28 20:08 +0000)
committerEric Wong <e@80x24.org>
Mon, 29 Apr 2024 17:10:01 +0000 (29 17:10 +0000)
tree2b625dfec72d3d6120b6dd903d667774f3eac116
parentd4529bfbce012361c802a21ce2147ae3967c11eb
t/imap_searchqp: hopefully fix test reliability

Localizing assignments to *STDERR doesn't seem to always work
with scalar (String) IO objects.  Fortunately, doing actual dup2
redirects always seems reliable, so do that instead of
attempting to understand why PerlIO sometimes fails with the
assignment.
t/imap_searchqp.t