1<testcase> 2<info> 3<keywords> 4-O 5-J 6--output-dir 7--remote-time 8</keywords> 9</info> 10# 11# Server-side 12<reply> 13<data nocheck="yes"> 14HTTP/1.1 200 OK 15Date: Tue, 09 Nov 2010 14:49:00 GMT 16Server: test-server/fake 17Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT 18ETag: "21025-dc7-39462498" 19Accept-Ranges: bytes 20Content-Length: 6 21Connection: close 22Content-Disposition: inline; filename="MMM%TESTNUMBERMMM" 23Content-Type: text/html 24Funny-head: yesyes 25 26-foo- 27</data> 28</reply> 29 30# 31# Client-side 32<client> 33<server> 34http 35</server> 36<features> 37http 38</features> 39<name> 40--output-dir with -J and -R 41</name> 42<command option="no-output,no-include"> 43http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -OJR --output-dir %PWD/%LOGDIR 44</command> 45</client> 46 47# 48# Verify data after the test has been "shot" 49<verify> 50<protocol> 51GET /this/is/the/%TESTNUMBER HTTP/1.1 52Host: %HOSTIP:%HTTPPORT 53User-Agent: curl/%VERSION 54Accept: */* 55 56</protocol> 57<file name="%LOGDIR/MMM%TESTNUMBERMMM"> 58-foo- 59</file> 60</verify> 61</testcase> 62