Commit e77bd22
authored
tests: fix to pass with non-verbose libcurl build (#423)
Building libcurl with `CURL_DISABLE_VERBOSE_STRINGS` changes some stderr
outputs. Before this patch, this caused such build to fail 3 tests.
Fix and verify with these updates:
- test.py: support multiple accepted stderr result.
- tests.json: add alternate expected stderr results, as emitted by
non-verbose libcurl.
- GHA/curl-for-win: add Linux job to actually test this issue.
Oddly, Windows passes tests. This is due to a WINE workaround in
`test.py` which replaces actual result with the expected one, masking
failures.1 parent 46162a2 commit e77bd22
3 files changed
+42
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1974 | 1974 | | |
1975 | 1975 | | |
1976 | 1976 | | |
1977 | | - | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
1978 | 1981 | | |
1979 | 1982 | | |
1980 | 1983 | | |
| |||
2018 | 2021 | | |
2019 | 2022 | | |
2020 | 2023 | | |
2021 | | - | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
2022 | 2028 | | |
2023 | 2029 | | |
2024 | 2030 | | |
| |||
2767 | 2773 | | |
2768 | 2774 | | |
2769 | 2775 | | |
2770 | | - | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
2771 | 2780 | | |
2772 | 2781 | | |
2773 | 2782 | | |
| |||
0 commit comments