#!/bin/shif[$(id -u)!= 0 ];thenecho$msg must be run as root >&2exit 0fiecho"--------------------"echo"running psock_fanout test"echo"--------------------"./psock_fanoutif[$?-ne 0 ];thenecho"[FAIL]"elseecho"[PASS]"fiecho"--------------------"echo"running psock_tpacket test"echo"--------------------"./psock_tpacketif[$?-ne 0 ];thenecho"[FAIL]"elseecho"[PASS]"fi