1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/tests/data/test1451
Daniel Stenberg fe8ba51209
server/getpart: make the "XML-parser" stricter
When extracting a <section> <part> and there's no </part> before
</section>, this now outputs an error and returns a wrong string to
make users spot the mistake.

Ref: #5070
Closes #5071
2020-03-13 11:03:42 +01:00

41 lines
459 B
Plaintext

<testcase>
<info>
<keywords>
SMB
</keywords>
</info>
#
# Server-side
<reply>
<data nocheck="yes">
Basic SMB test complete
</data>
</reply>
#
# Client-side
<client>
<server>
smb
</server>
<features>
smb
</features>
<name>
Basic SMB request
</name>
<command>
-u 'curltest:curltest' smb://%HOSTIP:%SMBPORT/TESTS/1451
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout>
Basic SMB test complete
</stdout>
</verify>
</testcase>