aboutsummaryrefslogtreecommitdiff
path: root/tests/testcurl.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-01-04 23:39:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-04 23:39:30 +0100
commit5c0eae136b2c01a38c14a6148989b88ab8ab068f (patch)
treed40a87aa7f556f37fe85d10b67ca725fa20a957e /tests/testcurl.pl
parent5220c1d69240dfab2087990d24229f81db9b4b33 (diff)
ftp tests: provide LIST responses in the test file itself
Previously LIST always returned a fixed hardcoded list that the ftp server code knew about, mostly since the server didn't get any test case number in the LIST scenario. Starting now, doing a CWD to a directory named test-[number] will make the test server remember that number and consider it a test case so that a subsequent LIST command will send the <data> section of that test case back. It allows LIST tests to be made more similar to how all other tests work. Test 100 was updated to provide its own directory listing.
Diffstat (limited to 'tests/testcurl.pl')
0 files changed, 0 insertions, 0 deletions