@@ -104,7 +104,7 @@ PVS_LOG_OPTS = -a 'GA:1,2' -e -t errorfile -d $(PVS_IGNORE)
104104# Regression tests
105105TEST_PROGS = conf_test hltq_test parseln_test progname_test strsplit_test \
106106 strtobool_test strtoid_test strtomode_test strtonum_test \
107- parse_gids_test getgrouplist_test host_port_test @COMPAT_TEST_PROGS@
107+ parse_gids_test getgrouplist_test @COMPAT_TEST_PROGS@
108108TEST_LIBS = @LIBS@
109109TEST_LDFLAGS = @LDFLAGS@
110110
@@ -120,7 +120,7 @@ DEVEL = @DEVEL@
120120SHELL = @SHELL@
121121
122122LTOBJS = @DIGEST@ event.lo fatal.lo key_val.lo gethostname.lo gettime.lo \
123- getgrouplist.lo gidlist.lo host_port.lo json.lo lbuf.lo locking.lo \
123+ getgrouplist.lo gidlist.lo json.lo lbuf.lo locking.lo \
124124 logfac.lo logpri.lo mkdir_parents.lo parseln.lo progname.lo \
125125 roundup.lo secure_path.lo setgroups.lo strsplit.lo strtobool.lo \
126126 strtoid.lo strtomode.lo strtonum.lo sudo_conf.lo \
@@ -161,8 +161,6 @@ PARSE_GIDS_TEST_OBJS = parse_gids_test.lo gidlist.lo
161161
162162GETGROUPLIST_TEST_OBJS = getgrouplist_test.lo getgrouplist.lo
163163
164- HOST_PORT_TEST_OBJS = host_port_test.lo host_port.lo
165-
166164STRSIG_TEST_OBJS = strsig_test.lo sig2str.lo str2sig.lo @SIGNAME@
167165
168166VSYSLOG_TEST_OBJS = vsyslog_test.lo vsyslog.lo
@@ -259,9 +257,6 @@ parse_gids_test: $(PARSE_GIDS_TEST_OBJS) libsudo_util.la
259257getgrouplist_test : $(GETGROUPLIST_TEST_OBJS ) libsudo_util.la
260258 $(LIBTOOL ) $(LTFLAGS ) --mode=link $(CC ) -o $@ $(GETGROUPLIST_TEST_OBJS ) libsudo_util.la $(ASAN_LDFLAGS ) $(PIE_LDFLAGS ) $(SSP_LDFLAGS ) $(TEST_LDFLAGS ) $(TEST_LIBS )
261259
262- host_port_test : $(HOST_PORT_TEST_OBJS ) libsudo_util.la
263- $(LIBTOOL ) $(LTFLAGS ) --mode=link $(CC ) -o $@ $(HOST_PORT_TEST_OBJS ) libsudo_util.la $(ASAN_LDFLAGS ) $(PIE_LDFLAGS ) $(SSP_LDFLAGS ) $(TEST_LDFLAGS ) $(TEST_LIBS )
264-
265260strsplit_test : $(STRSPLIT_TEST_OBJS ) libsudo_util.la
266261 $(LIBTOOL ) $(LTFLAGS ) --mode=link $(CC ) -o $@ $(STRSPLIT_TEST_OBJS ) libsudo_util.la $(ASAN_LDFLAGS ) $(PIE_LDFLAGS ) $(SSP_LDFLAGS ) $(TEST_LDFLAGS ) $(TEST_LIBS )
267262
@@ -351,7 +346,6 @@ check: $(TEST_PROGS)
351346 ./strsig_test || rval=` expr $$ rval + $$ ? ` ; \
352347 fi ; \
353348 ./getgrouplist_test || rval=` expr $$ rval + $$ ? ` ; \
354- ./host_port_test || rval=` expr $$ rval + $$ ? ` ; \
355349 ./strtobool_test || rval=` expr $$ rval + $$ ? ` ; \
356350 ./strtoid_test || rval=` expr $$ rval + $$ ? ` ; \
357351 ./strtomode_test || rval=` expr $$ rval + $$ ? ` ; \
@@ -766,30 +760,6 @@ hltq_test.i: $(srcdir)/regress/tailq/hltq_test.c $(incdir)/compat/stdbool.h \
766760 $(CC) -E -o $@ $(CPPFLAGS) $<
767761hltq_test.plog : hltq_test.i
768762 rm -f $@ ; pvs-studio --cfg $(PVS_CFG ) --sourcetree-root $(top_srcdir ) --skip-cl-exe yes --source-file $(srcdir ) /regress/tailq/hltq_test.c --i-file $< --output-file $@
769- host_port.lo : $(srcdir ) /host_port.c $(incdir ) /compat/stdbool.h \
770- $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
771- $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
772- $(incdir)/sudo_util.h $(top_builddir)/config.h
773- $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/host_port.c
774- host_port.i : $(srcdir ) /host_port.c $(incdir ) /compat/stdbool.h \
775- $(incdir)/sudo_compat.h $(incdir)/sudo_debug.h \
776- $(incdir)/sudo_gettext.h $(incdir)/sudo_queue.h \
777- $(incdir)/sudo_util.h $(top_builddir)/config.h
778- $(CC) -E -o $@ $(CPPFLAGS) $<
779- host_port.plog : host_port.i
780- rm -f $@ ; pvs-studio --cfg $(PVS_CFG ) --sourcetree-root $(top_srcdir ) --skip-cl-exe yes --source-file $(srcdir ) /host_port.c --i-file $< --output-file $@
781- host_port_test.lo : $(srcdir ) /regress/host_port/host_port_test.c \
782- $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
783- $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
784- $(top_builddir)/config.h
785- $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/regress/host_port/host_port_test.c
786- host_port_test.i : $(srcdir ) /regress/host_port/host_port_test.c \
787- $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \
788- $(incdir)/sudo_fatal.h $(incdir)/sudo_util.h \
789- $(top_builddir)/config.h
790- $(CC) -E -o $@ $(CPPFLAGS) $<
791- host_port_test.plog : host_port_test.i
792- rm -f $@ ; pvs-studio --cfg $(PVS_CFG ) --sourcetree-root $(top_srcdir ) --skip-cl-exe yes --source-file $(srcdir ) /regress/host_port/host_port_test.c --i-file $< --output-file $@
793763inet_pton.lo : $(srcdir ) /inet_pton.c $(incdir ) /sudo_compat.h \
794764 $(top_builddir)/config.h
795765 $(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/inet_pton.c
0 commit comments