Re: POST test failure cause

From: Date: Thu, 14 Dec 2000 12:26:36 +0000
Subject: Re: POST test failure cause
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41335@lists.php.net to get a copy of this message
Stanislav Malyshev wrote: > > Seems that problem with tests is that it relies on -q option, but PHP > ignores -q option when run in "true CGI" mode (i.e., on every test > containing GET or POST). This makes all tests using GET or POST > automatically fail. Well, run-tests.php actually skips the headers in the output, so this issue has been "worked around". A bigger problem is that you can't pass a different include_path to run-tests.php because it ignores the -d option as well. Maybe another environment variable that forces sapi/cgi to parse options is good? I don't like introducing special features to support testing (it sort of defeats the purpose of it :-), but this one seems necessary. - Stig

« previous php.dev (#41335) next »