Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
fork
Configure Feed
Select the types of activity you want to include in your feed.
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0
3
4if [ $(id -u) != 0 ]; then
5 echo $msg must be run as root >&2
6 exit 0
7fi
8
9echo "--------------------"
10echo "running psock_fanout test"
11echo "--------------------"
12./in_netns.sh ./psock_fanout
13if [ $? -ne 0 ]; then
14 echo "[FAIL]"
15else
16 echo "[PASS]"
17fi
18
19echo "--------------------"
20echo "running psock_tpacket test"
21echo "--------------------"
22./in_netns.sh ./psock_tpacket
23if [ $? -ne 0 ]; then
24 echo "[FAIL]"
25else
26 echo "[PASS]"
27fi