summaryrefslogtreecommitdiff
path: root/tests/data/test1054
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test1054')
-rw-r--r--tests/data/test105412
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/data/test1054 b/tests/data/test1054
index ac6671f6e..d8b1d452c 100644
--- a/tests/data/test1054
+++ b/tests/data/test1054
@@ -12,7 +12,7 @@ followlocation
<reply>
<data>
HTTP/1.1 301 OK swsclose
-Location: moo/testcase/10540002
+Location: moo/testcase/%TESTNUMBER0002
Date: Thu, 31 Jul 2008 14:49:00 GMT
Connection: close
@@ -26,7 +26,7 @@ body
</data2>
<datacheck>
HTTP/1.1 301 OK swsclose
-Location: moo/testcase/10540002
+Location: moo/testcase/%TESTNUMBER0002
Date: Thu, 31 Jul 2008 14:49:00 GMT
Connection: close
@@ -47,11 +47,11 @@ http
<name>
HTTP POST from file with 301 redirect and --post301
</name>
-<file name="log/test1054.txt">
+<file name="log/test%TESTNUMBER.txt">
field=data
</file>
<command>
-http://%HOSTIP:%HTTPPORT/blah/1054 -L -d @log/test1054.txt --post301
+http://%HOSTIP:%HTTPPORT/blah/%TESTNUMBER -L -d @log/test%TESTNUMBER.txt --post301
</command>
</client>
@@ -59,14 +59,14 @@ http://%HOSTIP:%HTTPPORT/blah/1054 -L -d @log/test1054.txt --post301
# Verify data after the test has been "shot"
<verify>
<protocol nonewline="yes">
-POST /blah/1054 HTTP/1.1
+POST /blah/%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 10
Content-Type: application/x-www-form-urlencoded
-field=dataPOST /blah/moo/testcase/10540002 HTTP/1.1
+field=dataPOST /blah/moo/testcase/%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*