diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-01 14:40:14 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-01 14:40:14 +0000 |
commit | 98e16aad39d676f9430aeb2b999bbfd334b07c12 (patch) | |
tree | fa16004c7dc820dab0fbe0315c660c5cef04e908 /testsuites/psxtests/psxid01/psxid01.scn | |
parent | 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-98e16aad39d676f9430aeb2b999bbfd334b07c12.tar.bz2 |
2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add tests for file lock stubs as well as
various POSIX methods that access UID, PID, and GID.
* psxfilelock01/.cvsignore, psxfilelock01/Makefile.am,
psxfilelock01/init.c, psxfilelock01/psxfilelock01.doc,
psxfilelock01/psxfilelock01.scn, psxid01/.cvsignore,
psxid01/Makefile.am, psxid01/init.c, psxid01/psxid01.doc,
psxid01/psxid01.scn: New files.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxid01/psxid01.scn | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxid01/psxid01.scn b/testsuites/psxtests/psxid01/psxid01.scn new file mode 100644 index 0000000000..663f683e76 --- /dev/null +++ b/testsuites/psxtests/psxid01/psxid01.scn @@ -0,0 +1,20 @@ +*** TEST ID 01 *** +getegid = 0 +getgid = 0 +setgid(5) +getegid = 0 +getgid = 5 +setpgid(getpid(), 10) - ENOSYS + +geteuid = 0 +getuid = 0 +setuid(5) +geteuid = 0 +getuid = 5 + +getpid = 1 +__getpid = 1 +getppid = 0 +setsid - EPERM + +*** END OF TEST ID 01 *** |