From 475da6b80e5a3a61bff8192c95d807f043371b6f Mon Sep 17 00:00:00 2001 From: Rodrigo Prado Date: Thu, 9 Nov 2017 20:20:09 -0200 Subject: [PATCH] Create posix_getpwnam_basic_01.phpt User Group: PHPSP #phptestfestbrasil --- ext/posix/tests/posix_getpwnam_basic_01.phpt | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ext/posix/tests/posix_getpwnam_basic_01.phpt diff --git a/ext/posix/tests/posix_getpwnam_basic_01.phpt b/ext/posix/tests/posix_getpwnam_basic_01.phpt new file mode 100644 index 0000000000..97bb159d1c --- /dev/null +++ b/ext/posix/tests/posix_getpwnam_basic_01.phpt @@ -0,0 +1,28 @@ +--TEST-- +Test posix_getpwnam() function : basic functionality +--CREDITS-- +Rodrigo Prado de Jesus +User Group: PHPSP #phptestfestbrasil +--SKIPIF-- + +--FILE-- + +===DONE==== +--EXPECTREGEX-- +Array +\( + \[name\] => [^\r\n]+ + \[passwd\] => [^\r\n]+ + \[uid\] => [0-9]+ + \[gid\] => [0-9]+ + \[gecos\] => [^\r\n]* + \[dir\] => [^\r\n]+ + \[shell\] => [^\r\n]+ +\) +===DONE====