From: Simon Wilkinson Date: Thu, 1 Nov 2012 17:38:45 +0000 (+0000) Subject: tests: Fix fallout from cleanup change X-Git-Tag: upstream/1.8.0_pre1^2~1845 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=dce5e012fedb3efc9e7acd9c443b7ec2caaf47ae;p=packages%2Fo%2Fopenafs.git tests: Fix fallout from cleanup change The change to cleanup temporary files after tests (0c3670914a05c7aa33f0b1239ba9cc25f430ed04) broke all attempts to run the tests using libwrap, as it would cause libwrap to run the binary named "MAKECHECK=1" Move the variable defintion before the libwrap invocation to fix this. Change-Id: I330267c9b53483abccf43d60a7dc8f8d973c3959 Reviewed-on: http://gerrit.openafs.org/8356 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/tests/Makefile.in b/tests/Makefile.in index d07085148..23f1fa096 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -22,8 +22,8 @@ runtests.o: $(srcdir)/runtests.c check test tests: runtests @for A in $(SUBDIRS); do cd $$A && $(MAKE) $@ && cd .. || exit 1; done - ./libwrap @TOP_OBJDIR@/lib \ - MAKECHECK=1 ./runtests $(abs_top_srcdir)/tests/TESTS + MAKECHECK=1 ./libwrap @TOP_OBJDIR@/lib \ + ./runtests $(abs_top_srcdir)/tests/TESTS install: