SVNews r332608

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-04-16 16:32:00 - r332608 by asomers (asomers)

Complete list of files affected by revision r332608:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/etc/mtree/BSD.tests.dist  
  History   Contents   Diff   MODIFY   /stable/11/libexec/tftpd/Makefile  
   Contents     ADD   /stable/11/libexec/tftpd/tests  
  History   Contents   Diff   MODIFY   /stable/11/libexec/tftpd/tests/functional.c  

Commit message:

MFC r330696, r330709, r330742, r331358

Add some functional tests for tftpd(8)

tftpd(8) is difficult to test in isolation due to its relationship with
inetd. Create a test program that mimics the behavior of tftp(1) and
inetd(8) and verifies tftpd's response in several different scenarios.

These test cases cover all of the basic TFTP protocol, but not the optional

PR: 157700
PR: 225996
PR: 226004
PR: 226005
Differential Revision:

Commit missing file from r330696

X-MFC-With: 330696

tftpd: fix the build of tests on i386 after 330696

It's those darn printf format specifiers again

Reported by: cy, kibab
X-MFC-With: 330696

tftpd: misc Coverity cleanup in the tests

A bunch of unchecked return values from open(2) and read(2)

Reported by: Coverity
CID: 1386900, 1386911, 1386926, 1386928, 1386932, 1386942
CID: 1386961, 1386979
X-MFC-With: 330696


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 17 ms, 5 files printed. Current time is 2018-04-23 15:06:35. All times are in UTC/GMT.