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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux