<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/cgi/tests, branch php-7.4.2</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Move shebang handling into the lexer</title>
<updated>2019-07-15T14:25:49+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-15T14:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c5f1b384b591009310370f0b06b10868d2d62741'/>
<id>c5f1b384b591009310370f0b06b10868d2d62741</id>
<content type='text'>
Instead of handling shebang lines by adjusting the file pointer in
individual SAPIs, move the handling into the lexer, where this is
both a lot simpler and more robust. Whether the shebang should be
skipped is controlled by CG(skip_shebang) -- we might want to do
that in more cases.

This fixed bugs #60677 and #78066.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of handling shebang lines by adjusting the file pointer in
individual SAPIs, move the handling into the lexer, where this is
both a lot simpler and more robust. Whether the shebang should be
skipped is controlled by CG(skip_shebang) -- we might want to do
that in more cases.

This fixed bugs #60677 and #78066.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace dirname(__FILE__) by __DIR__ in tests</title>
<updated>2019-03-15T21:55:30+00:00</updated>
<author>
<name>Fabien Villepinte</name>
<email>fabien.villepinte@gmail.com</email>
</author>
<published>2019-03-15T21:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=26dfce7f36d1c6f737ac241df1315a1b42b932c7'/>
<id>26dfce7f36d1c6f737ac241df1315a1b42b932c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update and fix remaining year ranges (2019)</title>
<updated>2019-02-08T22:14:29+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2019-02-03T21:47:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c245898bfaf47353a748ca6f2d37cd669e697ae4'/>
<id>c245898bfaf47353a748ca6f2d37cd669e697ae4</id>
<content type='text'>
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up server-tests.php remains</title>
<updated>2018-11-23T15:24:51+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-11-21T22:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1acac320c5a88a54a5965e759f1cb33b6cd71f13'/>
<id>1acac320c5a88a54a5965e759f1cb33b6cd71f13</id>
<content type='text'>
sapi/tests/ has been introduced as a generic means to test different
SAPIs[1].  run-tests2.php has later be renamed to server-tests.php and
recently been dropped[2].  However, the sapi/tests/test00?.php test
cases remained, even though they make no sense for run-tests.php,
since they use an unsupported format for the `--ENV--` section and the
completely unsupported `--HEADERS--` section, respectively.  While
these tests ran successfully under run-tests.php, that was only by
accident, and they did not really test something useful.  Therefore, we
remove these tests altogether.

sapi/tests/bug69487.phpt is actually a CGI test (CGI is enforced due to
the `--POST--` section), so we move it to sapi/cgi/tests, which leaves
sapi/tests/ empty.  Thus, we also remove the sapi/ directory from
run-tests.php.

Finally, we remove the `--HEADERS--` and `--REQUEST--` sections from
the list of allowed run-tests.php sections.

[1] &lt;http://git.php.net/?p=php-src.git;a=commit;h=b671380b6b5b6e1f4f235e810afa4199e989d2ba&gt;
[2] &lt;http://git.php.net/?p=php-src.git;a=commit;h=4f36acb9e65935aa657f1f22e2320a401bdbdad3&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sapi/tests/ has been introduced as a generic means to test different
SAPIs[1].  run-tests2.php has later be renamed to server-tests.php and
recently been dropped[2].  However, the sapi/tests/test00?.php test
cases remained, even though they make no sense for run-tests.php,
since they use an unsupported format for the `--ENV--` section and the
completely unsupported `--HEADERS--` section, respectively.  While
these tests ran successfully under run-tests.php, that was only by
accident, and they did not really test something useful.  Therefore, we
remove these tests altogether.

sapi/tests/bug69487.phpt is actually a CGI test (CGI is enforced due to
the `--POST--` section), so we move it to sapi/cgi/tests, which leaves
sapi/tests/ empty.  Thus, we also remove the sapi/ directory from
run-tests.php.

Finally, we remove the `--HEADERS--` and `--REQUEST--` sections from
the list of allowed run-tests.php sections.

[1] &lt;http://git.php.net/?p=php-src.git;a=commit;h=b671380b6b5b6e1f4f235e810afa4199e989d2ba&gt;
[2] &lt;http://git.php.net/?p=php-src.git;a=commit;h=4f36acb9e65935aa657f1f22e2320a401bdbdad3&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Trim trailing whitespace in tests</title>
<updated>2018-10-14T15:07:20+00:00</updated>
<author>
<name>Gabriel Caruso</name>
<email>carusogabriel34@gmail.com</email>
</author>
<published>2018-09-16T17:16:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9c144e0d8217d1ef7a83c2498214308b21af749f'/>
<id>9c144e0d8217d1ef7a83c2498214308b21af749f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3'</title>
<updated>2018-10-08T10:33:32+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-10-08T10:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c266a19094db0733a4b38fe924e66f197bda4469'/>
<id>c266a19094db0733a4b38fe924e66f197bda4469</id>
<content type='text'>
* PHP-7.3:
  Fix #76954: apache_response_headers removes last character from header name
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix #76954: apache_response_headers removes last character from header name
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2018-10-08T10:32:52+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-10-08T10:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=6178786233cef6bb984ad3fc7bd196aedf5f7e61'/>
<id>6178786233cef6bb984ad3fc7bd196aedf5f7e61</id>
<content type='text'>
* PHP-7.2:
  Fix #76954: apache_response_headers removes last character from header name
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Fix #76954: apache_response_headers removes last character from header name
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2018-10-08T10:30:45+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2018-10-08T10:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=879c937a272328d9d333a4188acc98b53f45fcb1'/>
<id>879c937a272328d9d333a4188acc98b53f45fcb1</id>
<content type='text'>
* PHP-7.1:
  Fix #76954: apache_response_headers removes last character from header name
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Fix #76954: apache_response_headers removes last character from header name
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #76954: apache_response_headers removes last character from header name</title>
<updated>2018-10-08T10:29:31+00:00</updated>
<author>
<name>stodorovic</name>
<email>sasa.todorovic@gmx.com</email>
</author>
<published>2018-10-02T06:36:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=47b89bc5314534e4aab4a8d6cda0da9d079366f6'/>
<id>47b89bc5314534e4aab4a8d6cda0da9d079366f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make more tests run on Linux</title>
<updated>2018-08-29T00:20:00+00:00</updated>
<author>
<name>Gabriel Caruso</name>
<email>carusogabriel34@gmail.com</email>
</author>
<published>2018-07-27T00:12:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2f7003847d3b48ea89fdec2bd5388085cf6b4d0e'/>
<id>2f7003847d3b48ea89fdec2bd5388085cf6b4d0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
