Daniel Stenberg
26e9d3a896
curl: find curlrc in XDG_CONFIG_HOME without leading dot
...
If XDG_CONFIG_HOME is set, look for XDG_CONFIG_HOME/curlrc - without a
leading dot in the filename.
Fixes #12129
Reported-by: Jat Satiro
Closes #14600
2024-08-20 08:44:44 +02:00
Daniel Stenberg
f7cc9e9177
tests: add -q as first option when invoking curl for tests
...
To reduce the risk that the user running the tests has a .curlrc present
that messes things up.
Support 'option="no-q"' for the <command> tag to switch it off on demand.
Use this new feature in test 433 and 436.
Ref: #13284
Closes #13387
2024-04-16 23:40:23 +02:00
Dan Fandrich
e7a021e135
tests: use %LOGDIR to refer to the log directory
...
This will allow it be set dynamically.
Ref: #10818
2023-03-30 09:53:57 -07:00
Daniel Stenberg
57e46dce58
test433: adjust for hyper mode
...
Closes #7205
2021-06-07 23:14:09 +02:00
Daniel Stenberg
e2b4df7b5e
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
2021-03-19 15:57:21 +01:00
Daniel Stenberg
e992770e8d
test433: clear some home dir env variables
...
Follow-up to bd6b54ba1f
... so that XDG_CONFIG_HOME is the only home dir variable set and thus
used correctly in the test!
Fixes #6599
Closes #6600
2021-02-12 14:02:07 +01:00
Daniel Stenberg
e6b21d422e
runtests: provide curl's version string as %VERSION for tests
...
... so that we can check HTTP requests for User-Agent: curl/%VERSION
Update 600+ test cases accordingly.
Closes #6037
2020-10-02 22:54:23 +02:00
Daniel Stenberg
4be1f8dc01
curl: support XDG_CONFIG_HOME to find .curlrc
...
Added test433 to verify. Updated documentation.
Reviewed-by: Jay Satiro
Suggested-by: Eli Schwartz
Fixes #5829
Closes #5837
2020-08-24 16:37:09 +02:00