Repository navigation
Commit 204b71a
committed
gh-160652: Make test_getoutput independent of the console code page
The shell writes its error message in the console code page, which is not
necessarily the encoding text mode picks (UTF-8 once UTF-8 mode is on).
Only the exit status is checked here, so tolerate undecodable bytes
instead of failing on them.1 parent 1159836 commit 204b71a
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4132 | 4132 | | |
4133 | 4133 | | |
4134 | 4134 | | |
| 4135 | + | |
| 4136 | + | |
4135 | 4137 | | |
4136 | | - | |
| 4138 | + | |
4137 | 4139 | | |
4138 | 4140 | | |
4139 | 4141 | | |
| |||
0 commit comments