[Cluster-devel] [PATCH] gfs2-utils tests: Fix testsuite cleanup

Andrew Price anprice at redhat.com
Wed May 9 17:05:40 UTC 2018


On 09/05/18 16:40, Valentin Vidic wrote:
> Parallel distclean removes testsuite before it is finished
> running, causing make error.
> 
> Signed-off-by: Valentin Vidic <Valentin.Vidic at CARNet.hr>
> ---
>   tests/Makefile.am | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Applied - thanks!

Andy

> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 1dedc2b2..e52aab4c 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -6,8 +6,7 @@ EXTRA_DIST = \
>   
>   DISTCLEANFILES = \
>   	atlocal \
> -	atconfig \
> -	$(TESTSUITE)
> +	atconfig
>   
>   CLEANFILES = testvol
>   
> @@ -103,6 +102,7 @@ installcheck-local: atconfig atlocal $(TESTSUITE)
>   
>   clean-local:
>   	test ! -f '$(TESTSUITE)' || $(SHELL) '$(TESTSUITE)' --clean
> +	rm -f '$(TESTSUITE)'
>   
>   atconfig: $(top_builddir)/config.status
>   	cd $(top_builddir) && ./config.status tests/$@
> 




More information about the Cluster-devel mailing list