commit | 4ed340bae64c84897fa7e42f6142592ef899f0cd | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Fri Feb 27 01:39:25 2015 -0500 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Feb 28 12:10:39 2015 +0000 |
tree | d53262bff87c06b76ecf767bae6c0e82228e3b9e | |
parent | 856b7596b83d70d6e7e27eef56fa7b92a0dac4af [diff] |
tests/ipc_sem: detect broken kernels When running 32bit ipc tests on ppc/sparc with a 64bit kernel, the ipc logic wrongly returns errors. Detect that and throw an error. * tests/ipc_sem.c: Return 99 when errno is EFAULT. * tests/ipc_sem.test: Save output to $OUT and show it when failing. Handle exit status 99 to throw an ERROR.