diff options
author | Leo Yan <leo.yan@linaro.org> | 2021-06-16 21:44:27 +0800 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-06-16 10:35:12 -0500 |
commit | 27abb03a0d5fb8342741c306b0ce187f41f8e3c1 (patch) | |
tree | 937054013975e9eda27a44acb0cc95a09280a3dc /test/Makefile.in | |
parent | f25df0386edf6cd80fb577b477069a1705cf4869 (diff) | |
download | lvm2-27abb03a0d5fb8342741c306b0ce187f41f8e3c1.tar.gz |
tests: Fix building for IDM program
When execute IDM testing, the command reports error:
/usr/bin/install: cannot stat ‘lib/idm_inject_failure’: No such file
or directory
Since there have a stale program in my local environment, thus Makefile
always uses the stale program and doesn't report any issue. In the
brand new repository, it doesn't contain an idm_inject_failure program,
and Makefile doesn't build it without specifying the dependency, thus
the test command complaints the file 'idm_inject_failure' is not found.
This patch adds the dependency 'lib/idm_inject_failure' for IDM testing,
so it can firstly build the injection program and dismiss the error.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index cd134129b..5f35c30b8 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -171,7 +171,7 @@ check_lvmlockd_dlm: .tests-stamp endif ifeq ("@BUILD_LVMLOCKD@", "yes") -check_lvmlockd_idm: .tests-stamp +check_lvmlockd_idm: .tests-stamp lib/idm_inject_failure $(INSTALL_PROGRAM) lib/idm_inject_failure $(EXECDIR) VERBOSE=$(VERBOSE) ./lib/runner \ --testdir . --outdir $(LVM_TEST_RESULTS) \ |