Lines Matching +full:hi +full:- +full:fi
2 # SPDX-License-Identifier: GPL-2.0-only
18 if [ ! -x "$(command -v socat)" ]; then
21 fi
28 set -e
32 NSIM_DEV_1_NAME=$(find $NSIM_DEV_1_SYS/net -maxdepth 1 -type d ! \
33 -path $NSIM_DEV_1_SYS/net -exec basename {} \;)
34 NSIM_DEV_2_NAME=$(find $NSIM_DEV_2_SYS/net -maxdepth 1 -type d ! \
35 -path $NSIM_DEV_2_SYS/net -exec basename {} \;)
79 if [ $? -eq 0 ]; then
80 echo "linking with non-existent netdevsim should fail"
83 fi
86 if [ $? -eq 0 ]; then
87 echo "linking with non-existent netnsid should fail"
90 fi
93 if [ $? -eq 0 ]; then
97 fi
100 if [ $? -ne 0 ]; then
104 fi
109 if [ $? -eq 0 ]; then
113 fi
118 ip netns exec nssv socat TCP-LISTEN:1234,fork $tmp_file &
124 echo "HI" | ip netns exec nscl socat STDIN TCP:192.168.1.1:1234
126 count=$(cat $tmp_file | wc -c)
127 if [[ $count -ne 3 ]]; then
130 fi
141 modprobe -r netdevsim