004- ------ stream_truncate not implemented: -------
005-
006- Warning: ftruncate(): Can't truncate this stream! in %s on line %d
007- bool(false)
008- ------ stream_truncate size 0: -------
009- truncation with new_size=0
010- bool(true)
011- ------ stream_truncate size 10: -------
012- truncation with new_size=10
013- bool(true)
014- ------ stream_truncate negative size: -------
015- bool(false)
016- ------ stream_truncate bad return: -------
017- truncation with new_size=0
018-
019- Warning: ftruncate(): test_wrapper_bad::stream_truncate did not return a boolean! in %s on line %d
020- bool(false)