Commit 659d977
committed
ext/iconv/tests/bug48147.phpt: whitelist iconvs with //IGNORE
This test is for the behavior of iconv's magic "//IGNORE" suffix. The
output it expects agrees with POSIX 2024 even when the underlying
implementation (glibc) does not. A comment has been added to this
effect, and two calls to urlencode() have been removed so that two
(expected) errors are not swallowed.
Afterwards, we whitelist the two iconv implementations that are known
to support //IGNORE. While POSIX standardizes its behavior, it falls
short of requiring implementations to support it. Musl in particular
does not support any suffix.1 parent 139eb4c commit 659d977
1 file changed
Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
5 | 19 | | |
6 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
7 | 31 | | |
8 | 32 | | |
9 | 33 | | |
10 | 34 | | |
11 | | - | |
| 35 | + | |
12 | 36 | | |
13 | 37 | | |
14 | 38 | | |
15 | | - | |
| 39 | + | |
16 | 40 | | |
17 | 41 | | |
18 | 42 | | |
19 | 43 | | |
20 | 44 | | |
21 | 45 | | |
22 | 46 | | |
23 | | - | |
| 47 | + | |
24 | 48 | | |
25 | 49 | | |
26 | 50 | | |
27 | | - | |
| 51 | + | |
0 commit comments