selftests: net: add PF_PACKET TPACKET v1/v2/v3 selftests
[linux-3.10.git] / tools / testing / selftests / net / run_afpackettests
index 7907824..5246e78 100644 (file)
@@ -14,3 +14,13 @@ if [ $? -ne 0 ]; then
 else
        echo "[PASS]"
 fi
+
+echo "--------------------"
+echo "running psock_tpacket test"
+echo "--------------------"
+./psock_tpacket
+if [ $? -ne 0 ]; then
+       echo "[FAIL]"
+else
+       echo "[PASS]"
+fi