1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

test1282: verify the ftp-gss check

This commit is contained in:
Daniel Stenberg 2016-12-23 00:07:36 +01:00
parent 5fe164a258
commit 913312f414
2 changed files with 46 additions and 1 deletions

View File

@ -129,7 +129,7 @@ test1228 test1229 test1230 test1231 test1232 test1233 test1234 test1235 \
test1236 test1237 test1238 test1239 test1240 test1241 test1242 test1243 \
test1244 test1245 test1246 test1247 \
\
test1280 test1281 \
test1280 test1281 test1282 \
\
test1300 test1301 test1302 test1303 test1304 test1305 test1306 test1307 \
test1308 test1309 test1310 test1311 test1312 test1313 test1314 test1315 \

45
tests/data/test1282 Normal file
View File

@ -0,0 +1,45 @@
<testcase>
<info>
<keywords>
FTP
PASV
RETR
</keywords>
</info>
# Server-side
<reply>
<servercmd>
REPLY PASS 633 XXXXXXXX\x00\x00XXXXXXXX
</servercmd>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<features>
GSS-API
</features>
<name>
FTP with 633 response before gss initialized
</name>
<command>
ftp://%HOSTIP:%FTPPORT/1282
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
USER anonymous
PASS ftp@example.com
</protocol>
# 67 == CURLE_LOGIN_DENIED
<errorcode>
67
</errorcode>
</verify>
</testcase>