[PATCH 3/3] selftests: vm: add the "settings" file with timeout variable

From: Patrick Wang
Date: Sat May 21 2022 - 04:39:08 EST


The default "timeout" for one kselftest is 45 seconds, while some
cases in run_vmtests.sh require more time. This will cause testing
timeout like:

not ok 4 selftests: vm: run_vmtests.sh # TIMEOUT 45 seconds

Therefore, add the "settings" file with timeout variable so users can
set the "timeout" value.

Signed-off-by: Patrick Wang <patrick.wang.shcn@xxxxxxxxx>
---
tools/testing/selftests/vm/settings | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/testing/selftests/vm/settings

diff --git a/tools/testing/selftests/vm/settings b/tools/testing/selftests/vm/settings
new file mode 100644
index 000000000000..9abfc60e9e6f
--- /dev/null
+++ b/tools/testing/selftests/vm/settings
@@ -0,0 +1 @@
+timeout=45
--
2.25.1