tests: Fix fallout from cleanup change
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 1 Nov 2012 17:38:45 +0000 (17:38 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Thu, 1 Nov 2012 17:51:53 +0000 (10:51 -0700)
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 <shadow@your-file-system.com>
Tested-by: Derrick Brashear <shadow@your-file-system.com>

tests/Makefile.in

index d070851..23f1fa0 100644 (file)
@@ -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: