4.115
Last change
on this file since 1fe4042 was
1fe4042,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/01/10 at 17:26:37
|
2010-07-01 Bharath Suri <bharath.s.jois@…>
PR 1598/testing
- Makefile.am, configure.ac, psxpasswd01/init.c,
psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: Add testing
for POSIX user database (e.g. /etc/group and /etc/passwd) access
routines which are implemented in libcsupport/src/getpwent.c.
- psxpasswd02/.cvsignore, psxpasswd02/Makefile.am, psxpasswd02/init.c,
psxpasswd02/psxpasswd02.doc, psxpasswd02/psxpasswd02.scn: New files.
|
-
Property mode set to
100644
|
File size:
2.1 KB
|
Rev | Line | |
---|
[1fe4042] | 1 | Initialized console on port COM1 9600-8-N-1 |
---|
| 2 | |
---|
| 3 | *** PASSWORD/GROUP TEST - 01 *** |
---|
| 4 | Init - getpwent() -- OK, result should be NULL |
---|
| 5 | Init - getgrent() -- OK, result should be NULL |
---|
| 6 | Init - setpwent() -- OK |
---|
| 7 | Init - setgrent() -- OK |
---|
| 8 | Init - getpwent() (1) -- OK |
---|
| 9 | username: root |
---|
| 10 | user password: * |
---|
| 11 | user ID: 0 |
---|
| 12 | group ID: 0 |
---|
| 13 | real name: |
---|
| 14 | home directory: / |
---|
| 15 | shell program: /bin/sh |
---|
| 16 | Init - getpwent() (2) -- OK |
---|
| 17 | username: rtems |
---|
| 18 | user password: * |
---|
| 19 | user ID: 1 |
---|
| 20 | group ID: 1 |
---|
| 21 | real name: |
---|
| 22 | home directory: / |
---|
| 23 | shell program: /bin/sh |
---|
| 24 | Init - getpwent() (3) -- OK |
---|
| 25 | username: tty |
---|
| 26 | user password: ! |
---|
| 27 | user ID: 2 |
---|
| 28 | group ID: 2 |
---|
| 29 | real name: |
---|
| 30 | home directory: / |
---|
| 31 | shell program: /bin/false |
---|
| 32 | Init - getpwent() (4) -- result should be NULL |
---|
| 33 | Init - getgrent() (1) -- OK |
---|
| 34 | group name: root |
---|
| 35 | group password: x |
---|
| 36 | group ID: 0 |
---|
| 37 | Init - getgrent() (2) -- OK |
---|
| 38 | group name: rtems |
---|
| 39 | group password: x |
---|
| 40 | group ID: 1 |
---|
| 41 | Init - getgrent() (3) -- OK |
---|
| 42 | group name: tty |
---|
| 43 | group password: x |
---|
| 44 | group ID: 2 |
---|
| 45 | Init - getgrent() (4) -- result should be NULL |
---|
[4828ee2] | 46 | Init - getpwnam("root") -- OK |
---|
| 47 | username: root |
---|
| 48 | user password: * |
---|
| 49 | user ID: 0 |
---|
| 50 | group ID: 0 |
---|
| 51 | real name: |
---|
| 52 | home directory: / |
---|
| 53 | shell program: /bin/sh |
---|
| 54 | Init - getpwnam("rtems") -- OK |
---|
| 55 | username: rtems |
---|
| 56 | user password: * |
---|
| 57 | user ID: 1 |
---|
| 58 | group ID: 1 |
---|
| 59 | real name: |
---|
| 60 | home directory: / |
---|
| 61 | shell program: /bin/sh |
---|
[1fe4042] | 62 | Init - getpwnam("suser") -- result should be NULL |
---|
| 63 | Init - getpwuid(0) -- OK |
---|
| 64 | username: root |
---|
| 65 | user password: * |
---|
| 66 | user ID: 0 |
---|
| 67 | group ID: 0 |
---|
| 68 | real name: |
---|
| 69 | home directory: / |
---|
| 70 | shell program: /bin/sh |
---|
| 71 | Init - getpwuid(1) -- OK |
---|
| 72 | username: rtems |
---|
| 73 | user password: * |
---|
| 74 | user ID: 1 |
---|
| 75 | group ID: 1 |
---|
| 76 | real name: |
---|
| 77 | home directory: / |
---|
| 78 | shell program: /bin/sh |
---|
| 79 | Init - getpwuid(4) -- result should be NULL |
---|
[4828ee2] | 80 | Init - getgrnam("root") -- OK |
---|
| 81 | group name: root |
---|
| 82 | group password: x |
---|
| 83 | group ID: 0 |
---|
| 84 | Init - getgrnam("rtems") -- OK |
---|
| 85 | group name: rtems |
---|
| 86 | group password: x |
---|
| 87 | group ID: 1 |
---|
[1fe4042] | 88 | Init - getgrgid(0) -- OK |
---|
| 89 | group name: root |
---|
| 90 | group password: x |
---|
| 91 | group ID: 0 |
---|
| 92 | Init - getgrgid(1) -- OK |
---|
| 93 | group name: rtems |
---|
| 94 | group password: x |
---|
| 95 | group ID: 1 |
---|
| 96 | Init - getgrgid(4) -- result should be NULL |
---|
| 97 | Init - endpwent() -- OK |
---|
| 98 | Init - endgrent() -- OK |
---|
| 99 | *** END OF PASSWORD/GROUP TEST - 01 *** |
---|
Note: See
TracBrowser
for help on using the repository browser.