“3e22b355343d808bb09cc47b5ecb261af3b5753b”上不存在“drivers/gpu/drm/omapdrm/dss/display.c”
-
由 Willy Tarreau 提交于
This adds 63 tests covering about 34 syscalls. Both successes and failures are tested. Two tests fail when run as unprivileged user (link_dir which returns EACCESS instead of EPERM, and chroot which returns EPERM). One test (execve("/")) expects to fail on EACCESS, but needs to have valid arguments otherwise the kernel will log a message. And a few tests require /proc to be mounted. The code is not pretty since all tests are one-liners, sometimes resulting in long lines, especially when using compount statements to preset a line, but it's convenient and doesn't obfuscate the code, which is important to understand what failed. Signed-off-by: NWilly Tarreau <w@1wt.eu> Signed-off-by: NPaul E. McKenney <paulmck@kernel.org>b4844fa0