From c4dbd40477bb658cdc5c5e01b8f80057e587cd88 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 9 Jun 2019 18:54:58 +0300 Subject: Test inetd components. * lib/Makefile.am: Add urlconn.c * lib/libpies.h (url_connect): New proto. * lib/urlconn.c: New file. * src/piesctl.c (shttp_connect): Use url_connect. * tests/.gitignore: Update. * tests/Makefile.am: New auxtool: aux/in.test New test: inet.at * tests/aux/in.test: New file. * tests/inet.at: New file. * tests/iobuf.h: New file. * tests/nt.c: New file. * tests/testsuite.at: Add new test. * tests/to.c: explicitly terminate the child process on timeout. --- tests/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 14f5b4f..0290f61 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,7 +20,8 @@ AUXTOOLS = \ aux/mailer\ aux/touchfile\ aux/sleepexit\ - aux/startcheck + aux/startcheck\ + aux/in.test EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4 $(AUXTOOLS) DISTCLEANFILES = atconfig $(check_SCRIPTS) @@ -52,6 +53,7 @@ TESTSUITE_AT = \ cyclic.at\ env.at\ envop.at\ + inet.at\ respawn.at\ redirect.at\ ret-exec.at\ @@ -64,9 +66,12 @@ TESTSUITE_AT = \ TESTSUITE = $(srcdir)/testsuite M4=m4 -noinst_PROGRAMS = envtest to lines +noinst_PROGRAMS = envtest to lines nt +nt_SOURCES = nt.c iobuf.h AM_CPPFLAGS = \ -I$(top_srcdir)/lib\ + -I$(top_srcdir)/gnu\ + -I$(top_builddir)/gnu\ @GRECS_INCLUDES@ LDADD = \ -- cgit v1.2.1