diff mbox series

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

Message ID 20220521083825.319654-4-patrick.wang.shcn@gmail.com (mailing list archive)
State Accepted
Commit 0598739900071feff82b89f1515f963a6889b330
Headers show
Series selftests: vm: a few fixup patches | expand

Commit Message

Patrick Wang May 21, 2022, 8:38 a.m. UTC
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@gmail.com>
---
 tools/testing/selftests/vm/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/vm/settings
diff mbox series

Patch

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