xref: /third_party/curl/tests/data/test1145 (revision 13498266)
113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciFILE
513498266Sopenharmony_ci</keywords>
613498266Sopenharmony_ci</info>
713498266Sopenharmony_ci
813498266Sopenharmony_ci<reply>
913498266Sopenharmony_ci</reply>
1013498266Sopenharmony_ci
1113498266Sopenharmony_ci# Client-side
1213498266Sopenharmony_ci<client>
1313498266Sopenharmony_ci<server>
1413498266Sopenharmony_cifile
1513498266Sopenharmony_ci</server>
1613498266Sopenharmony_ci<name>
1713498266Sopenharmony_cifile:// bad host
1813498266Sopenharmony_ci</name>
1913498266Sopenharmony_ci# This command should not succeed since we only accept
2013498266Sopenharmony_ci# file:/// file://localhost/ file://127.0.0.1/
2113498266Sopenharmony_ci<command>
2213498266Sopenharmony_cifile://bad-host%PWD/%LOGDIR/test%TESTNUMBER.txt
2313498266Sopenharmony_ci</command>
2413498266Sopenharmony_ci<file name="%LOGDIR/test%TESTNUMBER.txt">
2513498266Sopenharmony_cifoo
2613498266Sopenharmony_ci   bar
2713498266Sopenharmony_cibar
2813498266Sopenharmony_ci   foo
2913498266Sopenharmony_cimoo
3013498266Sopenharmony_ci</file>
3113498266Sopenharmony_ci</client>
3213498266Sopenharmony_ci
3313498266Sopenharmony_ci# Verify data after the test has been "shot"
3413498266Sopenharmony_ci<verify>
3513498266Sopenharmony_ci# CURLE_URL_MALFORMAT is error code 3
3613498266Sopenharmony_ci<errorcode>
3713498266Sopenharmony_ci3
3813498266Sopenharmony_ci</errorcode>
3913498266Sopenharmony_ci</verify>
4013498266Sopenharmony_ci</testcase>
41