Please note that the CVS and issue trackers have moved to GitHub. These Trac pages are no longer kept up-to-date.

root/seattle/branches/nacl_repy/seattlelib/tests/ut_lind_fs_getuid.py

Revision 5725, 469 bytes (checked in by nitin, 5 years ago)

added user/group identity calls, fixed some unit tests.

Line 
1"""
2File : ut_lind_fs_getuid.py
3
4Unit test for getuid, geteuid, getgid, getegid.
5"""
6
7import lind_test_server
8
9SyscallError = lind_test_server.SyscallError
10
11assert lind_test_server.getuid_syscall() == 1000, "getuid failed to return."
12assert lind_test_server.geteuid_syscall() == 1000, "geteuid failed to return."
13assert lind_test_server.getgid_syscall() == 1000, "getgid failed to return."
14assert lind_test_server.getegid_syscall() == 1000, "getegid failed to return."
Note: See TracBrowser for help on using the browser.