curl-curl/tests/data/test837
Daniel Stenberg afe9fdd1eb
tests: convert base64 data to %b64[]
To make it easier to read, understand and edit tests - and grep them.

Closes #20547
2026-02-09 08:42:49 +01:00

55 lines
781 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
IMAP
SASL
SASL AUTH EXTERNAL
RFC4422
</keywords>
</info>
# Server-side
<reply>
<servercmd>
AUTH EXTERNAL
REPLY AUTHENTICATE +
REPLY %b64[user]b64% A002 OK AUTHENTICATE completed
</servercmd>
<data crlf="yes">
From: me@somewhere
To: fake@nowhere
body
--
yours sincerely
</data>
</reply>
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP external authentication
</name>
<command>
'imap://user;AUTH=EXTERNAL@%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1'
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol crlf="yes">
A001 CAPABILITY
A002 AUTHENTICATE EXTERNAL
%b64[user]b64%
A003 SELECT %TESTNUMBER
A004 FETCH 1 BODY[]
A005 LOGOUT
</protocol>
</verify>
</testcase>