hula-test

来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 46 行

TXT
46
字号
: run this script through /bin/sh# A program to test out the isode connectionless services etc.## Pretty simple minded - but gives some indications.## usage : isode-test [ hostname ]error=0 fast=0 imisc=ximiscif [ "x$1" = "x-lpp" ]; then    fast=1 imisc=ximisc-lpp    shiftfiif [ $# -gt 0 ]; then    host="$1"    echo "Hostname set to $host"elif host="`hostname`"; then    echo "Hostname set to $host"elif host="`uname`"; then    echo "Hostname set to $host"else    echo -n "I give up, what is your host name? "    read hostfifor i in utctime gentime time users chargen qotd finger pwdgendoecho "$i:"ximisc "$host" $i || error=`expr $error + 1`donefor i in ping sink echodoecho "$i:"ximisc -c 100 -l 1020 "$host" $i || error=`expr $error + 1`doneif [ $fast = 1 ]; then    echo "Test done, Errors: $error"    exit $errorfiecho "Test done, Errors: $error"exit $error

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?