[LTP] [COMMITTED] mountns04: Use needs_tmpdir instead of needs_checkpoints
Yang Xu
xuyang2018.jy@fujitsu.com
Fri Jul 8 04:57:42 CEST 2022
We don't use TST_CHECKPOINT_* api, so using needs_tmpdir is enough.
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
testcases/kernel/containers/mountns/mountns04.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/containers/mountns/mountns04.c b/testcases/kernel/containers/mountns/mountns04.c
index 46937ddcd..fc392f1a7 100644
--- a/testcases/kernel/containers/mountns/mountns04.c
+++ b/testcases/kernel/containers/mountns/mountns04.c
@@ -60,5 +60,5 @@ static struct tst_test test = {
.cleanup = cleanup,
.test_all = run,
.needs_root = 1,
- .needs_checkpoints = 1,
+ .needs_tmpdir = 1,
};
--
2.27.0
More information about the ltp
mailing list