and ignore -e in ndebug builds, rather than complain.
main_config_dict_dir_set(config, optarg);
break;
-#ifndef NDEBUG
case 'e':
+ /*
+ * For non-debug builds, accept '-e', but ignore it.
+ */
+#ifndef NDEBUG
exit_after = fr_time_delta_from_sec(atoi(optarg));
- break;
#endif
+ break;
case 'f':
config->daemonize = false;
# Start radiusd instance
#
${2}/radiusd.pid: ${2}
- $$(eval RADIUSD_RUN := TESTDIR=$(DIR) OUTPUT=${2} TEST_PORT=$(PORT) TEST=$(subst test.,,$(TEST)) $$(RADIUSD_BIN) -Pxxx -d $(DIR)/config -n ${1} -D $(DICT_PATH) -l ${2}/radiusd.log)
+ $$(eval RADIUSD_RUN := TESTDIR=$(DIR) OUTPUT=${2} TEST_PORT=$(PORT) TEST=$(subst test.,,$(TEST)) $$(RADIUSD_BIN) -Pxxx -d $(DIR)/config -e 300 -n ${1} -D $(DICT_PATH) -l ${2}/radiusd.log)
${Q}rm -f ${2}/radiusd.log
${Q}if test ! -z "$$(PRINT_PORT)"; then \
echo "$(PORT)"; \