Current Path : /usr/src/tools/regression/netinet/rawconnect/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/netinet/rawconnect/rawconnect.t |
#!/bin/sh # $FreeBSD: release/9.1.0/tools/regression/netinet/rawconnect/rawconnect.t 158772 2006-05-20 19:18:24Z maxim $ cd `dirname $0` executable=`basename $0 .t` make $executable 2>&1 > /dev/null echo 1..1 comment="rawconnect # open raw ip socket, connect it and then close" uid=`id -u` if [ $uid -ne 0 ]; then echo "ok 1 - rawconnect # skipped: you need to be root to run this test" elif ./$executable; then echo "ok 1 - $comment" else echo "not ok 1 - $comment" fi