mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
af948ae24c
These test functions which don't have msan interceptors. This results in false positives running msan on ubuntu 20.04.
16 lines
299 B
PHP
16 lines
299 B
PHP
--TEST--
|
|
getprotobyname function errors test
|
|
--CREDITS--
|
|
edgarsandi - <edgar.r.sandi@gmail.com>
|
|
--SKIPIF--
|
|
<?php
|
|
if (getenv('SKIP_MSAN')) die('skip msan missing interceptor for getprotobyname()');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
// invalid protocol name
|
|
var_dump(getprotobyname('abc'));
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|