summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxpasswd02/psxpasswd02.scn
blob: bb4ba8273b81ac5fef2dc08c8bf98d66ecbd583a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** PASSWORD/GROUP TEST - 02 ***
Init - Creating /etc
Init - Creating /etc/passwd
Init - Creating /etc/group
Init - setpwent() -- OK
Init - setpwent() -- OK
Init - setgrent() -- OK
Init - setgrent() -- OK
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getpwnam("root") -- expected EINVAL
Init - getgrent() -- OK
  group name: admin
  group  password: 
  group  ID: 1
Init - endpwent() -- OK
Init - endpwent() -- OK
Init - endgrent() -- OK
Init - endgrent() -- OK
Removing /etc/passwd
Removing /etc/group
Init - getpwnam("root") -- expected EINVAL
Init - getgrnam("root") -- expected EINVAL
*** END OF PASSWORD/GROUP TEST - 02 ***