]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests: vm: add the "settings" file with timeout variable
authorPatrick Wang <patrick.wang.shcn@gmail.com>
Sat, 21 May 2022 08:38:25 +0000 (16:38 +0800)
committerakpm <akpm@linux-foundation.org>
Wed, 25 May 2022 17:47:49 +0000 (10:47 -0700)
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.

Link: https://lkml.kernel.org/r/20220521083825.319654-4-patrick.wang.shcn@gmail.com
Signed-off-by: Patrick Wang <patrick.wang.shcn@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/vm/settings [new file with mode: 0644]

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