Commit Graph

26 Commits

Author SHA1 Message Date
George Peter Banyard
6d6d954d0d Cleanup of remaining E_STRICT in tests 2019-07-23 11:27:23 +02:00
Fabien Villepinte
26dfce7f36 Replace dirname(__FILE__) by __DIR__ in tests 2019-03-15 22:55:30 +01:00
Peter Kokot
d679f02295 Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-15 04:33:09 +02:00
Gabriel Caruso
9c144e0d82
Trim trailing whitespace in tests 2018-10-14 12:07:20 -03:00
Gabriel Caruso
ded3d984c6 Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
2018-02-20 21:53:48 +01:00
Nikita Popov
96d0bb7bca Update stack size in tests/func/010.phpt
Stack size is 16K nowadays. Now the test takes a more reasonable
amount of time to run...
2014-02-26 16:40:25 +01:00
Dejan Marjanovic
05016b7e96 Added XOR support for expressions in INI parser 2013-03-27 21:28:53 +01:00
Hannes Magnusson
9f8501b3b7 These are annoyingly slow 2011-06-23 21:27:42 +00:00
Zoe Slattery
6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
andy wharmby
d8ce08a24b Move tests to correct directory 2009-06-15 17:34:40 +00:00
andy wharmby
1888c718cb New foreach tests. Tested on Windows, Linux and Linux 64 bit. 2009-06-14 14:17:43 +00:00
Sebastian Schürmann
e2a4ef0696 - initial ci
- basic test for ini_alter
2009-04-25 11:18:15 +00:00
Nuno Lopes
38149b6207 add new test to test function with many arguments (i.e. test the new stack implementation)
this increases the converage of zend_execute.h by 18%
2008-02-08 13:49:27 +00:00
Zeev Suraski
b70f942189 Get rid of some yucky past, and reenable these tests 2004-02-11 16:09:46 +00:00
foobar
84e5fcb5de MFB, removed unused GET/POST entries 2003-01-24 05:56:55 +00:00
foobar
80923f933d Added test for bug: #21513 2003-01-23 03:28:41 +00:00
Derick Rethans
1019b2ea94 - Adjust tests for removed old_function() in Zend Engine 2 2002-11-23 22:08:05 +00:00
Marcus Boerger
42d33c38b3 Test result depends on these ini settings 2002-10-22 09:34:53 +00:00
Derick Rethans
dbc6935c16 - Fix descriptions 2002-10-03 11:00:13 +00:00
Derick Rethans
b6323ef5e2 - Add tests 2002-10-03 10:43:43 +00:00
Yasuo Ohgaki
d4c7e8bbaf Improve test to show output bufferring bypass bug clearly. 2002-10-02 05:29:06 +00:00
foobar
7d8c9d2f7f Fix the levels. (php.ini-dist has output_buffering OFF) 2002-08-01 12:02:22 +00:00
Yasuo Ohgaki
ee26bf084d Added ini_set()/ini_get()/ini_restore() test 2002-04-03 14:34:45 +00:00
Jan Lehnardt
26e1958c8e - added basic output buffering tests 2002-03-24 23:16:42 +00:00
Stig Bakken
315f4f5658 @PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows.  See tests/README for how to write tests.  Added the PHP 3
tests and converted most of them.
2000-08-27 19:46:06 +00:00