]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test904
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test904
1 <testcase>
2 <info>
3 <keywords>
4 SMTP
5 SMTP AUTH LOGIN
6 RFC4954
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 <servercmd>
14 REPLY EHLO 250 AUTH LOGIN
15 REPLY AUTH 334 LOGIN supported\r
16 REPLY dGVzdA== 334 UGFzc3dvcmQ6
17 REPLY MTIzNA== 235 Authenticated
18 </servercmd>
19 </reply>
20
21 #
22 # Client-side
23 <client>
24 <server>
25 smtp
26 </server>
27  <name>
28 SMTP login authentication
29  </name>
30 <stdin>
31 mail body\r
32 </stdin>
33  <command>
34 smtp://%HOSTIP:%SMTPPORT/user --mail-rcpt 904@foo --mail-from 904@from -u test:1234 -T -
35 </command>
36 </client>
37
38 #
39 # Verify data after the test has been "shot"
40 <verify>
41 <protocol>
42 EHLO user\r
43 AUTH LOGIN\r
44 dGVzdA==\r
45 MTIzNA==\r
46 MAIL FROM:<904@from>\r
47 RCPT TO:<904@foo>\r
48 DATA\r
49 QUIT\r
50 </protocol>
51 <upload>
52 mail body\r
53 .\r
54 </upload>
55 </verify>
56 </testcase>