~ubuntu-branches/ubuntu/trusty/curl/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/data/test921

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-12-20 09:13:22 UTC
  • mfrom: (3.4.44 sid)
  • Revision ID: package-import@ubuntu.com-20131220091322-lqk9xf5wba7vsyfh
Tags: 7.34.0-1ubuntu1
* Resynchronize on Debian, remaining changes
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Dropped undocumented Build-Depends change to automake1.9.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<testcase>
 
2
<info>
 
3
<keywords>
 
4
SMTP
 
5
SMTP AUTH NTLM SASL-IR
 
6
RFC4954
 
7
</keywords>
 
8
</info>
 
9
 
 
10
#
 
11
# Server-side
 
12
<reply>
 
13
<servercmd>
 
14
AUTH NTLM
 
15
REPLY AUTH 334 TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
 
16
REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q= 235 Authenticated
 
17
</servercmd>
 
18
</reply>
 
19
 
 
20
#
 
21
# Client-side
 
22
<client>
 
23
<server>
 
24
smtp
 
25
</server>
 
26
<features>
 
27
NTLM
 
28
</features>
 
29
 <name>
 
30
SMTP NTLM authentication with initial response
 
31
 </name>
 
32
 <setenv>
 
33
# we force our own host name, in order to make the test machine independent
 
34
CURL_GETHOSTNAME=curlhost
 
35
# we try to use the LD_PRELOAD hack, if not a debug build
 
36
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
 
37
 </setenv>
 
38
<stdin>
 
39
mail body
 
40
</stdin>
 
41
 <command>
 
42
smtp://%HOSTIP:%SMTPPORT/921 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T -
 
43
</command>
 
44
<precheck>
 
45
chkhostname curlhost
 
46
</precheck>
 
47
</client>
 
48
 
 
49
#
 
50
# Verify data after the test has been "shot"
 
51
<verify>
 
52
<protocol>
 
53
EHLO 921
 
54
AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
 
55
TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAABoKBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyY3VybGhvc3Q=
 
56
MAIL FROM:<sender@example.com>
 
57
RCPT TO:<recipient@example.com>
 
58
DATA
 
59
QUIT
 
60
</protocol>
 
61
<upload>
 
62
mail body
 
63
.
 
64
</upload>
 
65
</verify>
 
66
</testcase>