setreuid07: Add missing .needs_tmpdir = 1
PATCH 1/1 setreuid07: Add missing .needs_tmpdir = 1
Run tests in the tmporary directory.
Fixes 199f7bc81b67 ("setreuid07.c: Rewrite the test using new LTP API")
Signed-off-by Hui Min Mina Chou <[email protected]>
--- testcases/kernel/syscalls/setreuid/setreuid07.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/kernel/syscalls/setreuid/setreuid07.c +2 -1
@@ -60,5 +60,6 @@ static struct tst_test test = { .setup = setup, .test_all = run, .needs_root = 1, - .forks_child = 1 + .forks_child = 1, + .needs_tmpdir = 1, };
Signature · 5 lines
2.34.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
Thanks for a fix, merged!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp