freebsd-src/libexec/tftpd
Dag-Erling Smørgrav 83a6e984ac tftpd: Check the server status after each test.
* In the setup phase, wait for the server to start (or fail to start)
  before proceeding with the test.  This makes it possible to write test
  cases that don't expect a response from the server without ending up
  in a race over the server PID file.
* After running each test, wait up to 30 seconds for the server to exit
  and check that the exit status matches what the test case says to
  expect (usually 0).
* We still kill and collect the server in the cleanup phase, in case the
  test ended early.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D44956
2024-04-25 20:36:13 +02:00
..
tests tftpd: Check the server status after each test. 2024-04-25 20:36:13 +02:00
Makefile libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.options Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tftp-file.c libexec: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tftp-file.h Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tftp-io.c libexec: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tftp-io.h Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tftp-options.c libexec: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tftp-options.h Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tftp-transfer.c libexec: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
tftp-transfer.h Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
tftp-utils.c tftpd: Use size_t where appropriate. 2024-04-25 20:36:12 +02:00
tftp-utils.h tftpd: Use size_t where appropriate. 2024-04-25 20:36:12 +02:00
tftpd.8 libexec: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
tftpd.c tftpd: Use size_t where appropriate. 2024-04-25 20:36:12 +02:00