From ca1b7e7b4735b6582c65aa0dc3929a2ef34ba78f Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 3 Jun 2007 22:50:19 +0000 Subject: [PATCH] fix test --- sapi/cgi/tests/009.phpt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sapi/cgi/tests/009.phpt b/sapi/cgi/tests/009.phpt index c92fc87a83..1c429ac198 100644 --- a/sapi/cgi/tests/009.phpt +++ b/sapi/cgi/tests/009.phpt @@ -14,11 +14,13 @@ $f = tempnam(sys_get_temp_dir(), 'cgitest'); putenv("TRANSLATED_PATH=".$f."/x"); putenv("SCRIPT_FILENAME=".$f."/x"); -file_put_contents($f, ''); -echo (`$php $f`); +echo (`$php -n $f`); echo "Done\n"; + +@unlink($f); ?> --EXPECTF-- X-Powered-By: PHP/%s -- 2.50.1