summaryrefslogtreecommitdiff
path: root/tests/data/test153
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-12 17:38:26 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-19 15:57:21 +0100
commite2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51 (patch)
tree3d15e2bf1fa76e0d951d64edeccca6b70636e0ed /tests/data/test153
parent453ad35d15adf06bd1a141fb026214bc599b067f (diff)
downloadcurl-e2b4df7b5ed8ed86c900820fc4b2c30b9cb53f51.tar.gz
tests: use %TESTNUMBER instead of fixed number
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
Diffstat (limited to 'tests/data/test153')
-rw-r--r--tests/data/test15318
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/data/test153 b/tests/data/test153
index a582595ac..c51824fe7 100644
--- a/tests/data/test153
+++ b/tests/data/test153
@@ -81,7 +81,7 @@ crypto
HTTP with Digest authorization with stale=true
</name>
<command>
-http://%HOSTIP:%HTTPPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/1530002
+http://%HOSTIP:%HTTPPORT/%TESTNUMBER0001 -u testuser:testpass --digest http://%HOSTIP:%HTTPPORT/%TESTNUMBER0002
</command>
</client>
@@ -91,31 +91,31 @@ http://%HOSTIP:%HTTPPORT/1530001 -u testuser:testpass --digest http://%HOSTIP:%H
^Authorization.*cnonce
</strip>
<protocol>
-GET /1530001 HTTP/1.1
+GET /%TESTNUMBER0001 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
-GET /1530001 HTTP/1.1
+GET /%TESTNUMBER0001 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530001", response="f4f83139396995bac665f24a1f1055c7"
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER0001", response="f4f83139396995bac665f24a1f1055c7"
User-Agent: curl/%VERSION
Accept: */*
-GET /1530002 HTTP/1.1
+GET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
-GET /1530002 HTTP/1.1
+GET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/1530002", response="f84511b014fdd0ba6494f42871079c32"
+Authorization: Digest username="testuser", realm="testrealm", nonce="1053604145", uri="/%TESTNUMBER0002", response="f84511b014fdd0ba6494f42871079c32"
User-Agent: curl/%VERSION
Accept: */*
-GET /1530002 HTTP/1.1
+GET /%TESTNUMBER0002 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
-Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/1530002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm=MD5
+Authorization: Digest username="testuser", realm="testrealm", nonce="999999", uri="/%TESTNUMBER0002", cnonce="MTA4MzIy", nc="00000001", qop="auth", response="25291c357671604a16c0242f56721c07", algorithm=MD5
User-Agent: curl/%VERSION
Accept: */*