]> granicus.if.org Git - strace/commit
tests/uid.test: adopt for alpha
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 16 Jul 2015 09:09:11 +0000 (09:09 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 16 Jul 2015 22:13:56 +0000 (22:13 +0000)
commit8ef543929a561318de1d249562a7013208b7fd7d
tree6a6dd1f517fceb9aa461ac4eb1ea3e30203da85f
parent14278620c9241e3dcd0f8f24ec704d6d12e7a85a
tests/uid.test: adopt for alpha

Make the test work on alpha that has getxuid syscall instead of getuid.

* tests/uid.awk (BEGIN): Update getuid regexp to match both getuid
and getxuid syscalls.
* tests/uid.c (main): Allow __NR_getxuid as an alternative
to __NR_getuid.
* tests/uid.test: If getuid syscall is not available, probe for
getxuid syscall.
tests/uid.awk
tests/uid.c
tests/uid.test