mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 02:10:45 -05:00
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
19 lines
492 B
Makefile
19 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>
|