Commit 9d2d743d authored by Robert Dubner's avatar Robert Dubner
Browse files

Minor change to test/Makefile

parent 5b3de2fc
Pipeline #3692 passed with stage
in 54 minutes and 45 seconds
......@@ -7,6 +7,7 @@ DEBUG_LEVEL= 4087 # Everything but LDAP_DEBUG_CONNS (8); it cuts down on noise d
DEBUG_LEVEL=STATS
all:
@echo "'make test' to run the test
@echo "'make scratch' to build up the LDAP DIT from scratch"
.PHONY: scratch
......@@ -36,7 +37,10 @@ testdir/openldap-data/data.mdb: slapd.conf renbud.ldif
kill:
sudo pkill -KILL slapd || true
.PHONY: test
../radiusclient/radiusclient:
$(MAKE) -C ../radiusclient
.PHONY: test ../radiusclient/radiusclient
test: scratch
./test.scr
......
......@@ -48,7 +48,7 @@ result_count=1
rm -f results.log
# Kill anybody else who dares to use our test port
lsof -P -n | sed -n "s/^[^0-9]\+\([0-9]\+\).*:$PORT .*/\1/pg" | head -n 1 | xargs kill -KILL
lsof -P -n | sed -n "s/^[^0-9]\+\([0-9]\+\).*:$PORT .*/\1/pg" | head -n 1 | sudo xargs kill -KILL
for server_ca in $SERVER_CA
do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment