]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print the failed command
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 10 Sep 2017 09:53:35 +0000 (16:53 +0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 10 Sep 2017 09:53:35 +0000 (16:53 +0700)
src/tests/Makefile

index 0555df0f97f35a0f444351790dd90536d72da7dc..784866272f127820c05b2216c81c85b315e4975e 100644 (file)
@@ -64,6 +64,7 @@ radiusd.pid: test.conf
        @rm -f $(TEST_PATH)/gdb.log $(TEST_PATH)/radius.log
        @printf "TEST-SERVER Starting server... "
        @if ! TEST_PORT=$(PORT) $(BIN_PATH)/radiusd -Pxxxxl $(TEST_PATH)/radius.log -d ${top_builddir}/src/tests -n test -D $(TEST_PATH); then\
+               echo "TEST_PORT=$(PORT) $(BIN_PATH)/radiusd -Pxxxxl $(TEST_PATH)/radius.log -d ${top_builddir}/src/tests -n test -D $(TEST_PATH)"; \
                echo "failed"; \
                echo "Last log entries were:"; \
                tail -n 20 "$(TEST_PATH)/radius.log"; \