Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 15, 2024

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.

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.
@cmb69 cmb69 marked this pull request as ready for review September 15, 2024 22:07
@cmb69 cmb69 merged commit 5804353 into php:master Sep 21, 2024
10 checks passed
@cmb69 cmb69 deleted the cmb/bug64159.phpt branch September 21, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant