[php-src] Issue #8525: syslog_new_line and syslog_null_byte Tests are failing with php 8.1.5
| From: | nalakafernando | Date: | Tue, 10 May 2022 09:51:00 +0000 |
| Subject: | [php-src] Issue #8525: syslog_new_line and syslog_null_byte Tests are failing with php 8.1.5 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241448@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8525
Author: nalakafernando
### Description
The following code:
syslog_new_line.phpt and syslog_null_byte.phpt Tests keeps on failing with
php 8.1.5 on bionic. https://app.travis-ci.com/github/acquia/php-src/jobs/569665617
```
========DIFF========
001+ PHPT: \x02
001- %SPHPT%S%r(:|-)%r First line
002- %SPHPT%S%r(:|-)%r Second line
========DONE========
FAIL Test syslog() function : new line in message [ext/standard/tests/network/syslog_new_line.phpt]
========DIFF========
001+ PHPT: \x02
001- %SPHPT%S%r(:|-)%r A simple \x00 message
========DONE========
FAIL Test syslog() function : nul byte in message [ext/standard/tests/network/syslog_null_byte.phpt]
```
However i don't see these tests running on php-src master branch or
even in the commit related to this change.
https://app.travis-ci.com/github/php/php-src/jobs/524745352
Any help would be much appreciated. Thank you!
### PHP Version
PHP-8.1.5
### Operating System
Ubuntu Bionic