]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0598739900071feff82b89f1515f963a6889b330
tree58eeb35ffcc71cf247a22d3bd6bd29be5a91784f
parentccd2a1201d267bf6f1950bf31cfd55fb4e17a231
selftests: vm: add the "settings" file with timeout variable

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]