From c1dfe32e2ba948e62535102ab6dbafa60c3c6eda Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Thu, 13 Oct 2016 15:10:20 +0200 Subject: Make tests run independently from cwd --- test/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index f86ebf5..607989d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -2,7 +2,6 @@ PREFIX=.. INSTDIR=$(PREFIX)/catlfish -SOFTHSM=/usr/local/bin/softhsm2-util tests-start: ./scripts/light-system-test-start.sh @@ -19,7 +18,9 @@ tests-makemk: tests: @make tests-makemk - ./scripts/light-system-test.sh + rm -r $(INSTDIR)/tests || true + mkdir $(INSTDIR)/tests + (cd $(INSTDIR)/tests && ../../test/scripts/light-system-test.sh) tests-createca: mkdir $(INSTDIR)/tests/httpsca -- cgit v1.1