
---- EXPECTED OUTPUT
bool(true)
bool(true)
bool(true)
------ stream_truncate not implemented: -------

Warning: ftruncate(): Can't truncate this stream! in %s on line %d
bool(false)
------ stream_truncate size 0: -------
truncation with new_size=0
bool(true)
------ stream_truncate size 10: -------
truncation with new_size=10
bool(true)
------ stream_truncate negative size: -------
bool(false)
------ stream_truncate bad return: -------
truncation with new_size=0

Warning: ftruncate(): test_wrapper_bad::stream_truncate did not return a boolean! in %s on line %d
bool(false)
---- ACTUAL OUTPUT
bool(true)
bool(true)
bool(true)
------ stream_truncate not implemented: -------

Warning: ftruncate(): Can't truncate this stream! in /root/mountpoint-genprog/genprog-many-bugs/php-bug-2011-01-18-95388b7cda-b9b1fb1827/php/ext/standard/tests/file/userstreams_005.php on line 25
bool(false)
------ stream_truncate size 0: -------

Warning: ftruncate(): Can't truncate this stream! in /root/mountpoint-genprog/genprog-many-bugs/php-bug-2011-01-18-95388b7cda-b9b1fb1827/php/ext/standard/tests/file/userstreams_005.php on line 25
bool(false)
------ stream_truncate size 10: -------

Warning: ftruncate(): Can't truncate this stream! in /root/mountpoint-genprog/genprog-many-bugs/php-bug-2011-01-18-95388b7cda-b9b1fb1827/php/ext/standard/tests/file/userstreams_005.php on line 25
bool(false)
------ stream_truncate negative size: -------

Warning: ftruncate(): Can't truncate this stream! in /root/mountpoint-genprog/genprog-many-bugs/php-bug-2011-01-18-95388b7cda-b9b1fb1827/php/ext/standard/tests/file/userstreams_005.php on line 25
bool(false)
------ stream_truncate bad return: -------

Warning: ftruncate(): Can't truncate this stream! in /root/mountpoint-genprog/genprog-many-bugs/php-bug-2011-01-18-95388b7cda-b9b1fb1827/php/ext/standard/tests/file/userstreams_005.php on line 25
bool(false)
---- FAILED
