4795dcdc09
I dropped a couple tests that did nothing (e.g. clearstatcache) or almost nothing, or that 'tested' things that almost all the tests do (e.g. unlink or fclose). Dropped a few unixy apis that really didn't test that they do anything. Combined a few tests also.
14 linhas
213 B
PHP
14 linhas
213 B
PHP
<?php
|
|
|
|
$tempfile = tempnam('/tmp', 'vmextfiletest');
|
|
|
|
$f = fopen($tempfile, 'w');
|
|
fprintf($f, "%s %s", "testing", "fprintf");
|
|
fclose($f);
|
|
|
|
$f = fopen($tempfile, "r");
|
|
fpassthru($f);
|
|
echo "\n";
|
|
|
|
unlink($tempfile);
|