diff mbox series

[2/3] selftests: vm: add "test_hmm.sh" to TEST_FILES

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

Commit Message

patrick wang May 21, 2022, 8:38 a.m. UTC
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.

Signed-off-by: Patrick Wang <patrick.wang.shcn@gmail.com>
---
 tools/testing/selftests/vm/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile
index 12897927311e..44f25acfbeca 100644
--- a/tools/testing/selftests/vm/Makefile
+++ b/tools/testing/selftests/vm/Makefile
@@ -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