summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxpasswd01/psxpasswd01.scn
blob: 3a39643729e84cd03af23cb7b4ab7eb124607dcf (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
*** BEGIN OF TEST PSXPASSWD 1 ***
Init - getpwent() -- OK, result should be NULL
Init - getgrent() -- OK, result should be NULL
Init - setpwent() -- OK
Init - setgrent() -- OK
Init - getpwent() (1) -- OK
  username: root
  user password: 
  user ID: 0
  group ID: 0
  real name: 
  home directory: 
  shell program: 
Init - getpwent() (2) -- result should be NULL
Init - getgrent() (1) -- OK
  group name: root
  group  password: 
  group  ID: 0
Init - getgrent() (2) -- result should be NULL
Init - getpwnam("root") -- OK
  username: root
  user password: 
  user ID: 0
  group ID: 0
  real name: 
  home directory: 
  shell program: 
Init - getpwnam("suser") -- result should be NULL
Init - getpwuid(0) -- OK
  username: root
  user password: 
  user ID: 0
  group ID: 0
  real name: 
  home directory: 
  shell program: 
Init - getpwuid(4) -- result should be NULL
Init - getgrnam("root") -- OK
  group name: root
  group  password: 
  group  ID: 0
Init - getgrgid(0) -- OK
  group name: root
  group  password: 
  group  ID: 0
Init - getgrgid(4) -- result should be NULL
Init - endpwent() -- OK
Init - endgrent() -- OK
*** END OF TEST PSXPASSWD 1 ***