WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / net / test_blackhole_dev.sh
blob3119b80e711fd43750b56f0b1d5d1de3681da06f
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # Runs blackhole-dev test using blackhole-dev kernel module
5 if /sbin/modprobe -q test_blackhole_dev ; then
6 /sbin/modprobe -q -r test_blackhole_dev;
7 echo "test_blackhole_dev: ok";
8 else
9 echo "test_blackhole_dev: [FAIL]";
10 exit 1;