diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-03 17:15:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-03 17:15:02 +0000 |
commit | 4828ee25a2db70acdb74adcc4d2075f657717a3c (patch) | |
tree | 2d816f4eca71263f98b422845807ff7b21c12261 /testsuites/psxtests/psxpasswd01/psxpasswd01.scn | |
parent | 2009-12-03 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-4828ee25a2db70acdb74adcc4d2075f657717a3c.tar.bz2 |
2009-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: New test to exercise getgrnam and getpwnam
families.
* psxpasswd01/.cvsignore, psxpasswd01/Makefile.am, psxpasswd01/init.c,
psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: New files.
Diffstat (limited to 'testsuites/psxtests/psxpasswd01/psxpasswd01.scn')
-rw-r--r-- | testsuites/psxtests/psxpasswd01/psxpasswd01.scn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxpasswd01/psxpasswd01.scn b/testsuites/psxtests/psxpasswd01/psxpasswd01.scn new file mode 100644 index 0000000000..80128cc6f1 --- /dev/null +++ b/testsuites/psxtests/psxpasswd01/psxpasswd01.scn @@ -0,0 +1,28 @@ +*** PASSWORD/GROUP TEST *** +Init - getpwnam("root") -- OK + username: root + user password: * + user ID: 0 + group ID: 0 + real name: + home directory: / + shell program: /bin/sh +Init - getpwnam("rtems") -- OK + username: rtems + user password: * + user ID: 1 + group ID: 1 + real name: + home directory: / + shell program: /bin/sh + +Init - getgrnam("root") -- OK + group name: root + group password: x + group ID: 0 +Init - getgrnam("rtems") -- OK + group name: rtems + group password: x + group ID: 1 +*** END OF PASSWORD/GROUP TEST *** + |