PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for ext/pcntl/tests/pcntl_unshare_01.phpt ('pcntl_unshare() with CLONE_NEWUSER')

Script

1: <?php
2:
3: $olduid 
posix_getuid();
4:
pcntl_unshare(CLONE_NEWUSER);
5:
$newuid posix_getuid();
6:
var_dump($olduid === $newuid);
7:

Expected

bool(false)

Output

Warning: pcntl_unshare(): Error 22: Invalid flag specified in /var/php_gcov/PHP_HEAD/ext/pcntl/tests/pcntl_unshare_01.php on line 4
bool(true)

Diff

001+ Warning: pcntl_unshare(): Error 22: Invalid flag specified in /var/php_gcov/PHP_HEAD/ext/pcntl/tests/pcntl_unshare_01.php on line 4
001- bool(false)
002+ bool(true)

 

Generated at Mon, 06 May 2019 17:58:35 +0000 (942 days ago)

Copyright © 2005-2021 The PHP Group
All rights reserved.