2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2002-12-13 21:39:39 +08:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2005-06-03 22:06:03 +08:00
|
|
|
<data mode="text">
|
2002-12-13 21:39:39 +08:00
|
|
|
foo
|
2003-07-20 07:57:08 +08:00
|
|
|
bar swsclose
|
2002-12-13 21:39:39 +08:00
|
|
|
bar
|
|
|
|
foo
|
|
|
|
moo
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
file
|
|
|
|
</server>
|
|
|
|
# tool is what to use instead of 'curl'
|
|
|
|
<tool>
|
|
|
|
lib502
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
simple multi file:// get
|
|
|
|
</name>
|
|
|
|
<command>
|
2002-12-13 21:41:28 +08:00
|
|
|
file://%PWD/log/test502.txt
|
2002-12-13 21:39:39 +08:00
|
|
|
</command>
|
|
|
|
<file name="log/test502.txt">
|
|
|
|
foo
|
2003-07-20 07:57:08 +08:00
|
|
|
bar swsclose
|
2002-12-13 21:39:39 +08:00
|
|
|
bar
|
|
|
|
foo
|
|
|
|
moo
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|