projects
/
linux-2.6-block.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
net: fix psock_fanout selftest bind error message
[linux-2.6-block.git]
/
tools
/
testing
/
selftests
/
net-afpacket
/
run_afpackettests
1
#!/bin/sh
2
3
if [ $(id -u) != 0 ]; then
4
echo $msg must be run as root >&2
5
exit 0
6
fi
7
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]"
16
fi