Changeset View
Changeset View
Standalone View
Standalone View
tests/sys/netgraph/ng_macfilter_test.sh
Show First 20 Lines • Show All 229 Lines • ▼ Show 20 Lines | |||||
################################################################################ | ################################################################################ | ||||
### Start ###################################################################### | ### Start ###################################################################### | ||||
################################################################################ | ################################################################################ | ||||
test_title "Setting up system..." | test_title "Setting up system..." | ||||
load_modules netgraph ng_socket ng_ether ng_macfilter ng_one2many | load_modules netgraph ng_socket ng_ether ng_macfilter ng_one2many | ||||
eth=$(find_iface) | eth=$(find_iface) | ||||
if [ -z "$eth" ]; then | if [ -z "$eth" ]; then | ||||
echo "1..1" | echo "1..0 # SKIP could not find a valid interface" | ||||
echo "not ok 1 - Could not find a valid interface" | |||||
echo "Available interfaces:" | echo "Available interfaces:" | ||||
ifconfig | ifconfig | ||||
exit 1 | exit 1 | ||||
fi | fi | ||||
test_comment "Using $eth..." | test_comment "Using $eth..." | ||||
test_title "Configuring netgraph nodes..." | test_title "Configuring netgraph nodes..." | ||||
▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines |