public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] setreuid07: Add missing .needs_tmpdir = 1
@ 2024-03-20  7:42 Hui Min Mina Chou via ltp
  2024-03-20 10:29 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Hui Min Mina Chou via ltp @ 2024-03-20  7:42 UTC (permalink / raw)
  To: ltp, akumar; +Cc: Hui Min Mina Chou, tim609, cynthia, az70021

Run tests in the tmporary directory.

Fixes: 199f7bc81b67 ("setreuid07.c: Rewrite the test using new LTP API")
Signed-off-by: Hui Min Mina Chou <minachou@andestech.com>
---
 testcases/kernel/syscalls/setreuid/setreuid07.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/syscalls/setreuid/setreuid07.c b/testcases/kernel/syscalls/setreuid/setreuid07.c
index 5faf3cb7f600..62b9ec4cdcb8 100644
--- a/testcases/kernel/syscalls/setreuid/setreuid07.c
+++ b/testcases/kernel/syscalls/setreuid/setreuid07.c
@@ -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,
 };
-- 
2.34.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-20 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20  7:42 [LTP] [PATCH] setreuid07: Add missing .needs_tmpdir = 1 Hui Min Mina Chou via ltp
2024-03-20 10:29 ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox