Commit 913312f4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

test1282: verify the ftp-gss check

parent 5fe164a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 \

tests/data/test1282

0 → 100644
+45 −0
Original line number Diff line number Diff line
<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>