opnsense-src/tests/atf_python
Kristof Provost 6ae89b2f15 aft_python: fix incorrect ndp use
If we want to clear a flag we have to include '--' before the flag we clear,
otherwise ndp will misparse our command (the getopt call will interpret it as
another option, and reject it).

This caused spurious errors at the end of every atf_python test case such as:

	============================== 1 passed in 7.26s ===============================
	usage: ndp [-nt] hostname
	       ndp [-nt] -a | -c | -p | -r | -H | -P | -R
	       ndp [-nt] -A wait
	       ndp [-nt] -d hostname
	       ndp [-nt] -f filename
	       ndp [-nt] -i interface [flags...]
	       ndp [-nt] -I [interface|delete]
	       ndp [-nt] -s nodename etheraddr [temp] [proxy]

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-05-08 15:10:26 +02:00
..
sys aft_python: fix incorrect ndp use 2025-05-08 15:10:26 +02:00
__init__.py
atf_pytest.py Testing: add framework for the kernel unit tests. 2023-04-14 15:47:55 +00:00
ktest.py ktest: make ktest work with Netlink loaded as a module. 2023-06-13 06:04:14 +00:00
Makefile pkgbase: Put atf_python files in FreeBSD-tests 2023-10-12 20:15:03 +02:00
utils.py testing: add public method for requiring module presense in pytest 2023-05-15 10:50:55 +00:00