Skip to contentSkip to conversation

setreuid07: Add missing .needs_tmpdir = 1

PATCH In review Hui Min Mina Chou via ltp 2 participants 2 messages Mar 20, 2024

lore
Share & tools
lore
#0 lore raw

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")
---
 testcases/kernel/syscalls/setreuid/setreuid07.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
testcases/kernel/syscalls/setreuid/setreuid07.c +2 -1
index 5faf3cb7f600..62b9ec4cdcb8 100644
@@ -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
#1 lore raw

Hi,

Thanks for a fix, merged!
Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp