File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ User Group: PHPSP #phptestfestbrasil
17
17
var_dump ($ username == $ info ['name ' ]);
18
18
?>
19
19
===DONE====
20
- --EXPECTREGEX --
20
+ --EXPECTF --
21
21
Array
22
- \ (
23
- \ [name\ ] => [^\r\n]+
24
- \ [passwd\ ] => [^\r\n]+
25
- \ [uid\ ] => [0-9]+
26
- \ [gid\ ] => [0-9]+
27
- \ [gecos\ ] => [^\r\n]*
28
- \ [dir\ ] => [^\r\n]+
29
- \ [shell\ ] => [^\r\n]+
30
- \ )
31
- bool\ (true\ )
22
+ (
23
+ [name] => %s
24
+ [passwd] => %S
25
+ [uid] => %d
26
+ [gid] => %d
27
+ [gecos] => %S
28
+ [dir] => %s
29
+ [shell] => %s
30
+ )
31
+ bool(true)
32
32
===DONE====
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ Test posix_getpwuid() function : basic functionality
15
15
16
16
?>
17
17
===DONE====
18
- --EXPECTREGEX --
18
+ --EXPECTF --
19
19
Basic test of POSIX getpwuid
20
20
Array
21
- \ (
22
- \ [name\ ] => [^\r\n]+
23
- \ [passwd\ ] => [^\r\n]+
24
- \ [uid\ ] => [0-9]+
25
- \ [gid\ ] => [0-9]+
26
- \ [gecos\ ] => [^\r\n]*
27
- \ [dir\ ] => [^\r\n]+
28
- \ [shell\ ] => [^\r\n]+
29
- \ )
21
+ (
22
+ [name] => %s
23
+ [passwd] => %S
24
+ [uid] => %d
25
+ [gid] => %d
26
+ [gecos] => %S
27
+ [dir] => %s
28
+ [shell] => %s
29
+ )
30
30
===DONE====
You can’t perform that action at this time.
0 commit comments