selftests: vm: add "test_hmm.sh" to TEST_FILES
authorPatrick Wang <patrick.wang.shcn@gmail.com>
Sat, 21 May 2022 08:38:24 +0000 (16:38 +0800)
committerakpm <akpm@linux-foundation.org>
Wed, 25 May 2022 17:47:49 +0000 (10:47 -0700)
The "test_hmm.sh" file used by run_vmtests.sh dose not be installed into
INSTALL_PATH.  Thus run_vmtests.sh can not call it in INSTALL_PATH:

  ---------------------------
  running ./test_hmm.sh smoke
  ---------------------------
  ./run_vmtests.sh: line 74: ./test_hmm.sh: No such file or directory
  [FAIL]
  -----------------------

Add "test_hmm.sh" to TEST_FILES so that it will be installed.

Link: https://lkml.kernel.org/r/20220521083825.319654-3-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/Makefile

index 8111a33e48247c6a8629a4a379c9fb041a323c6c..064bfae6dd0d91dc264e61df4177b1ddc3d49eaa 100644 (file)
@@ -92,6 +92,7 @@ endif
 TEST_PROGS := run_vmtests.sh
 
 TEST_FILES := test_vmalloc.sh
+TEST_FILES += test_hmm.sh
 
 KSFT_KHDR_INSTALL := 1
 include ../lib.mk