[php-src] PR #22205: Handle error numbers/strerror values in bless
| From: | NattyNarwhal | Date: | Tue, 02 Jun 2026 04:12:21 +0000 |
| Subject: | [php-src] PR #22205: Handle error numbers/strerror values in bless | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36274@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22205
Author: NattyNarwhal
One annoyance with bless is its tendency to hardcode OS-specific errors in expect output, especially
when the test was already making it to begin with, and bless instead hardcodes it again.
Build a list of strerror values, scan the output for them, and replace them with '%s'.
Perhaps this may be overzealous, but it does seem to work to keep bless output reasonable with less
post-processing.