]> granicus.if.org Git - strace/commit
tests: extend test coverage of getuid/getgid family syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 19 Apr 2016 18:28:03 +0000 (18:28 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 20 Apr 2016 01:08:13 +0000 (01:08 +0000)
commitf096422882c00ec631c2a69130f2eefaa6c807e1
treeef062c2f57321e6a624c2d90a74d5cc0ec66146f
parent7f3da2ff4c69e26e820408ed07856181b034c2c4
tests: extend test coverage of getuid/getgid family syscalls

Add strict tests for getuid, getuid32, getgid, getgid32, geteuid,
geteuid32, getegid, and getegid32 syscalls.

* tests/getegid.c: New file.
* tests/getegid.test: New test.
* tests/getegid32.c: New file.
* tests/getegid32.test: New test.
* tests/geteuid.c: New file.
* tests/geteuid.test: New test.
* tests/geteuid32.c: New file.
* tests/geteuid32.test: New test.
* tests/getgid.c: New file.
* tests/getgid.test: New test.
* tests/getgid32.c: New file.
* tests/getgid32.test: New test.
* tests/getuid.c: New file.
* tests/getuid.test: New test.
* tests/getuid32.c: New file.
* tests/getuid32.test: New test.
* tests/.gitignore: Add getuid, getuid32, getgid, getgid32, geteuid,
* geteuid32, getegid, and getegid32.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add getegid.test, getegid32.test, geteuid.test,
geteuid32.test, getgid.test, getgid32.test, getuid.test,
and getuid32.test.
18 files changed:
tests/.gitignore
tests/Makefile.am
tests/getegid.c [new file with mode: 0644]
tests/getegid.test [new file with mode: 0755]
tests/getegid32.c [new file with mode: 0644]
tests/getegid32.test [new file with mode: 0755]
tests/geteuid.c [new file with mode: 0644]
tests/geteuid.test [new file with mode: 0755]
tests/geteuid32.c [new file with mode: 0644]
tests/geteuid32.test [new file with mode: 0755]
tests/getgid.c [new file with mode: 0644]
tests/getgid.test [new file with mode: 0755]
tests/getgid32.c [new file with mode: 0644]
tests/getgid32.test [new file with mode: 0755]
tests/getuid.c [new file with mode: 0644]
tests/getuid.test [new file with mode: 0755]
tests/getuid32.c [new file with mode: 0644]
tests/getuid32.test [new file with mode: 0755]