Merge tag 'locks-v3.16-2' of git://git.samba.org/jlayton/linux
[linux/fpc-iii.git] / tools / testing / selftests / net / run_afpackettests
blob5246e782d6e80699010c6c3af75dd72df02d92fc
1 #!/bin/sh
3 if [ $(id -u) != 0 ]; then
4 echo $msg must be run as root >&2
5 exit 0
6 fi
8 echo "--------------------"
9 echo "running psock_fanout test"
10 echo "--------------------"
11 ./psock_fanout
12 if [ $? -ne 0 ]; then
13 echo "[FAIL]"
14 else
15 echo "[PASS]"
18 echo "--------------------"
19 echo "running psock_tpacket test"
20 echo "--------------------"
21 ./psock_tpacket
22 if [ $? -ne 0 ]; then
23 echo "[FAIL]"
24 else
25 echo "[PASS]"