php-src/ext/posix/tests
Peter Kokot b746e69887 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:32:30 +02:00
..
001.phpt
bug75696.phpt Fix #75696: posix_getgrnam fails to print details of group 2018-09-01 14:25:59 +02:00
posix_ctermid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_ctermid_error.phpt More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
posix_ctermid.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_errno_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_errno_error.phpt More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
posix_errno_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_errno_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_get_last_error_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getcwd_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getcwd.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getegid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_geteuid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_geteuid_error1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getgid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getgrgid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getgrgid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getgrgid_macosx.phpt New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
posix_getgrgid_variation.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getgrgid_wrongparams.phpt New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
posix_getgrgid.phpt New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
posix_getgroups_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getpgid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getpgid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getpgid_variation.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getpgrp_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getpgrp_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getpid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getpid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getppid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getppid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getpwuid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getpwuid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getpwuid_variation.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getrlimit_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getrlimit.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getsid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_getsid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getsid.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_getuid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_initgroups_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_initgroups.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_isatty.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_kill_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_kill_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_kill_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_kill_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_mkfifo_wrongparams.phpt New POSIX extension tests from Berlin UG TestFest 2009. 2009-06-15 12:14:55 +00:00
posix_mknod_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_mknod.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setegid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_seteuid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_error2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation3.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation4.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation5.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_seteuid_variation6.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_setgid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_variation3.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
posix_setgid_variation4.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_variation5.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setgid_variation6.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_setgid_variation7.phpt Use int instead of integer in type errors 2018-02-04 19:08:23 +01:00
posix_setrlimit.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_setuid_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_error2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation2.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation3.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation4.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation5.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_setuid_variation6.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_strerror_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_strerror_variation1.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_times_basic.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_times_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_times.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_ttyname_error_wrongparams.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_ttyname_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_ttyname_variation1.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname_variation2.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname_variation3.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname_variation4.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname_variation5.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname_variation6.phpt - add skipif 2011-09-06 06:57:53 +00:00
posix_ttyname_variation7.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
posix_ttyname.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00
posix_uname_basic.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:32:30 +02:00
posix_uname_error.phpt Trim trailing whitespace in *.phpt 2018-10-14 19:45:12 +02:00