Commit graph

6796 commits

Author SHA1 Message Date
Viktor Szakats
b56b5fed15
test153, 388: slightly alter cnonce to not trigger the spellchecker 2025-07-21 15:20:43 +02:00
Viktor Szakats
eed641d269
unit1304: make exception inline 2025-07-21 15:20:43 +02:00
Viktor Szakats
d301a87144
test948 replace base64 with original text 2025-07-21 15:20:42 +02:00
Viktor Szakats
7a1a5409c5
test949 replace base64 with original text 2025-07-21 15:20:42 +02:00
Viktor Szakats
8fa74fdb8b
test890 replace base64 with original text 2025-07-21 15:20:42 +02:00
Viktor Szakats
0858a371cd
test889 replace base64 with original text 2025-07-21 15:20:42 +02:00
Viktor Szakats
f6817e7666
test_10_proxy.py: rename a function to not trigger "ser" 2025-07-21 15:20:42 +02:00
Viktor Szakats
596add819a
unit1307: use different letters to avoid triggering "ba" 2025-07-21 15:20:42 +02:00
Viktor Szakats
b0d7bee604
unit1302 add local spellcheck suppression 2025-07-21 15:20:42 +02:00
Viktor Szakats
e0c2b94faf
test1328: noo -> nooo to not hit typos tool 2025-07-21 15:20:42 +02:00
Viktor Szakats
73bbf1a7eb
h2_upgrade_extreme: rename func to pacify typos tool 2025-07-21 15:20:42 +02:00
Viktor Szakats
170e2ab11d
Revert "ech_tests.sh: replace PN abbrev to pacify the typos tool"
This reverts commit 15f7fc1e29e7a45f3dd29508ee392cfb58af4332.
2025-07-21 15:20:42 +02:00
Viktor Szakats
c64db54d8f
ech_tests.sh: replace PN abbrev to pacify the typos tool 2025-07-21 15:20:42 +02:00
Viktor Szakats
e0fd8c5fb2
ech_tests.sh: tweak along Dan's interpretation 2025-07-21 15:20:42 +02:00
Viktor Szakats
d6daf91d54
test: replance beng with foobar to please spellcheckers 2025-07-21 15:20:41 +02:00
Viktor Szakats
7e2c6a5888
make digest password not hit the spellchecker 2025-07-21 15:20:41 +02:00
Viktor Szakats
a0bf6428c7
test1294 redact a word, as in examples 2025-07-21 15:20:41 +02:00
Viktor Szakats
5e32139f08
tests: fixup Passiv to Passiv in FTP server response. Is this OK? 2025-07-21 15:20:41 +02:00
Viktor Szakats
c1b3062269
test*: fix typo 2025-07-21 15:20:41 +02:00
Viktor Szakats
656cfe0753
test1421: fix typo 2025-07-21 15:20:41 +02:00
Viktor Szakats
aa15206d94
go with disable-line 2025-07-21 15:20:41 +02:00
Viktor Szakats
af823636c6
drop space from tag (should still be cspell compatible) 2025-07-21 15:20:41 +02:00
Viktor Szakats
bd5f0fef55
Revert "try built-in codespell ignore tag"
This reverts commit e78db252b7166d9f6ae5432f29237a79b59de225.
2025-07-21 15:20:41 +02:00
Viktor Szakats
9f106eb259
try built-in codespell ignore tag 2025-07-21 15:20:41 +02:00
Viktor Szakats
39f52b18bd
add codespell ignore pattern
https://cspell.org/docs/Configuration/document-settings
https://github.com/codespell-project/codespell/issues/1212#issuecomment-1721152455
2025-07-21 15:20:41 +02:00
Viktor Szakats
3baaad2941
ech_tests.sh: replace "pres" with "res" 2025-07-21 15:20:41 +02:00
Viktor Szakats
9acecae0f9
runtests.pl tweak name 2025-07-21 15:20:40 +02:00
Viktor Szakats
2b8d63421f
runner.pm: rename variables to avoid an exception 2025-07-21 15:20:40 +02:00
Viktor Szakats
2ffdf12c61
lib3026.c: rename variable to avoid spelling exceptions 2025-07-21 15:20:40 +02:00
Viktor Szakats
c79ed59e36
runner.pm: rename variable to avoid spelling exceptions 2025-07-21 15:20:40 +02:00
Viktor Szakats
cbcc8bb410
lib1560: replace word in test to pass spellcheck 2025-07-21 15:20:40 +02:00
Viktor Szakats
3e45ff807e
ech_tests.sh rename variable in docs to avoid exclusion 2025-07-21 15:20:40 +02:00
Viktor Szakats
4bf3b2c573
smbserver.py rename variable in docs to avoid exclusion 2025-07-21 15:20:40 +02:00
Viktor Szakats
3ac6df7f7c
test1173.pl: rename variable to avoid type hit 2025-07-21 15:20:40 +02:00
Viktor Szakats
a03b2a9246
avoid exceptions by rename vars in getpart.c cleanup 2025-07-21 15:20:40 +02:00
Viktor Szakats
7cdd186798
avoid exceptions by rename vars in getpart.c 2025-07-21 15:20:40 +02:00
Viktor Szakats
cb056a7ee1
rename variable, drop exception 2025-07-21 15:20:40 +02:00
Viktor Szakats
7ea814f952
test update result size 2025-07-21 15:20:39 +02:00
Viktor Szakats
fa7694aec7
typos 2025-07-21 15:20:39 +02:00
Viktor Szakats
bc6473f454
typos 2025-07-21 15:20:39 +02:00
Stefan Eissing
53e5cdc47b
pytest: increase server KeepAliveTimeout
When CI is not able to give clients enough cpu, the default Apache
KeepAliveTimeout of 5 seconds may trigger and cause tests to fail.

Increase the timeout to 30 seconds for reliability.

Ref: #17963
Closes #17968
2025-07-20 23:15:11 +02:00
Viktor Szakats
7c23e88d17
GHA/macos: enable QUIC API with OpenSSL
In one autotools and one cmake job.

Also:
- enable OpenSSL QUIC in two more jobs.
- pytest: add checks to skip h3 tests when there is no h3 server to
  tests 26, 27a, 27b, 27c, 29 in test_02_download. Fixing:
  ```
  FAILED tests/http/test_02_download.py::TestDownload::test_02_26_session_shared_reuse[h3] - AssertionError: expected exit code 0, got 1
  [...]
  ```
  Ref: https://github.com/curl/curl/actions/runs/16392680316/job/46320739635?pr=17973

Ref: https://github.com/Homebrew/homebrew-core/pull/230515
Ref: 6c8e3eed12

Closes #17973
2025-07-20 00:02:19 +02:00
Viktor Szakats
3fd8846680
cmake: make runtests targets build the curl tool
To allow running tests just by building the `test-full` (or similar) in
a single step.

Closes #17967
2025-07-19 22:37:17 +02:00
Sergio Durigan Junior
7d1ca2e7e1
test1560: skip some URLs if UTF-8 is not supported
Debian CI found that `lib1560` implements tests that will fail when
UTF-8 isn't supported.  We can detect that with `nl_langinfo` and skip
the specific URLs that fail (i.e., those whose `getflags` are either
`CURLU_PUNYCODE` or `CURLU_PUNY2IDN`).

Co-authored-by: Viktor Szakats
Closes #17933
2025-07-19 22:37:17 +02:00
Viktor Szakats
1fcf22585f
tests: set CURL_ENTROPY per test, not globally
Setting `CURL_ENTROPY` in debug-enabled builds overrides the code paths
responsible for random number generation. To avoid masking issue there,
this patch moves `CURL_ENTROPY` settings to each test that requires it,
and stop setting it by default for all tests (in `runner.pm`).

This makes it possible to catch random generator issues in debug-enabled
builds; extending test coverage.

To keep offering a well-defined state for tests, make `runner.pm` delete
the `CURL_ENTROPY` env, if present.

Ref: #17970

Closes #17971
2025-07-19 21:30:32 +02:00
Viktor Szakats
7946bbbbe2
tests: drop unused CURL_FORCEHOST envs
Also match case of the `Debug` feature name in comments.

Closes #17972
2025-07-19 20:35:48 +02:00
Daniel Stenberg
e507f9347a
test3207: allow more allocations
This limit was triggered in a PR that did not change any sizes, showing
the previous limit for this was a little tight.

Ref: #17894
Closes #17932
2025-07-15 14:14:50 +02:00
Viktor Szakats
464fc67fbe
test1706: pass include directory to managen for out-of-tree builds
Fixing:
```
readline() on closed filehandle INC at ../../curl-99.98.97/tests/../scripts/managen line 1299.
```
Ref: https://github.com/curl/curl/actions/runs/16224106087/job/45811979199?pr=17877#step:3:8545

Cherry-picked from #17877
Closes #17926
2025-07-14 21:23:37 +02:00
Viktor Szakats
c680aa11af
genserv.pl: fix newline in usage text
Cherry-picked from #17877
2025-07-14 20:54:07 +02:00
Viktor Szakats
245783338c
runner.pm: use dirname() in singletest_prepare()
Replacing a regex, for portability.

Reported-by: Stefan Eissing
Bug: https://github.com/curl/curl/issues/17871#issuecomment-3051830614

Cherry-picked from #17877
Closes #17900
2025-07-14 11:24:28 +02:00