mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
5b8af90fe3
ping(8) is an old utility, which has received many changes and updates through the years. Some of these changes may have introduced small bugs, in part due to the lack of tests. Attempt to remedy the current situation by introducing a way to easily add tests. Differential Revision: https://reviews.freebsd.org/D38053
20 lines
492 B
Makefile
20 lines
492 B
Makefile
# $FreeBSD$
|
|
|
|
ATF_TESTS_C+= in_cksum_test
|
|
SRCS.in_cksum_test= in_cksum_test.c ../utils.c
|
|
|
|
PACKAGE= tests
|
|
|
|
ATF_TESTS_PYTEST+= test_ping.py
|
|
ATF_TESTS_SH+= ping_test
|
|
# Exclusive because each injection test case uses the same IP addresses
|
|
TEST_METADATA.ping_test+= is_exclusive="true"
|
|
|
|
${PACKAGE}FILES+= ping_c1_s56_t1.out
|
|
${PACKAGE}FILES+= ping_6_c1_s8_t1.out
|
|
${PACKAGE}FILES+= ping_c1_s56_t1_S127.out
|
|
${PACKAGE}FILES+= ping_c1_s8_t1_S1.out
|
|
${PACKAGE}FILES+= injection.py
|
|
|
|
.include <bsd.test.mk>
|