Skip to content

Commit

Permalink
ping: Add ATF-Python tests
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jlduran authored and AlexanderChernikov committed Feb 20, 2023
1 parent 3d360ca commit 5b8af90
Show file tree
Hide file tree
Showing 2 changed files with 941 additions and 0 deletions.
1 change: 1 addition & 0 deletions sbin/ping/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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"
Expand Down
Loading

0 comments on commit 5b8af90

Please sign in to comment.