]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
show the server log when things fail
authorAlan T. DeKok <aland@freeradius.org>
Fri, 14 Nov 2025 21:01:24 +0000 (16:01 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 15 Nov 2025 14:30:32 +0000 (09:30 -0500)
src/tests/digest/all.mk

index 68d0f3bac371540d7c5b7446aa4d7393da802aac..674ad3447384fd261bdb5391f5f1272cc8dbe29c 100644 (file)
@@ -41,6 +41,7 @@ $(OUTPUT)/%: $(DIR)/% | $(TEST).radiusd_kill $(TEST).radiusd_start
                echo "Vendor-Specific.Test.Test-Name = \"$(TARGET)\"" >> $@.request;            \
                echo "Vendor-Specific.Test.Test-Number = \"$${_num}\"" >> $@.request;   \
                if ! $(TEST_BIN)/radclient -f $@.request -xF -d src/tests/digest/config -D share/dictionary 127.0.0.1:$(digest_port) auth $(SECRET) > $@.out; then \
+                       cat $(DIGEST_RADIUS_LOG);                       \
                        echo "FAILED";                                  \
                        cat $@.out;                                     \
                        rm -f $(BUILD_DIR)/tests/test.digest;           \