summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net-afpacket/run_afpackettests
blob: 7907824c63553fcef82f5773e80a20db871e3eeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if [ $(id -u) != 0 ]; then
	echo $msg must be run as root >&2
	exit 0
fi

echo "--------------------"
echo "running psock_fanout test"
echo "--------------------"
./psock_fanout
if [ $? -ne 0 ]; then
	echo "[FAIL]"
else
	echo "[PASS]"
fi