[php-src] PR #15895: Support bug64159.phpt on Windows CI
| From: | cmb69 | Date: | Sun, 15 Sep 2024 14:39:53 +0000 |
| Subject: | [php-src] PR #15895: Support bug64159.phpt on Windows CI | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28609@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15895
Author: cmb69
This test queries
extOutput for the first line of output of the command which was
executed when snmpd started (HexTest in snmpd.conf). Since there is no
/bin/sh on Windows, no command would be run, and as such we received an empty string.
We fix that by dynamically adjusting snmpd.conf to run a JScript which has the same output as
bigtest.
We also make the test diff more helpful in case of failures, where so far we only would have known
that the output had a different message digest.