• R/O
  • HTTP
  • SSH
  • HTTPS

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

Rev. 1003f30fd9a1716c4104f7f844e1d7c9053ea8b9
크기 357 bytes
Time 2010-10-15 18:05:45
Author 6638678
Log Message

マージしたコードに対応

git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10381 1ed66053-1c2d-0410-8867-f7571e6e31d3

Content

#!/bin/bash

. ${SET_DEFAULT_CONF}

#Add Service
$L7VSD
if [ $? -ne 0 ]
then
        echo "Test failed: $L7VSD"
        exit 1
fi


usleep 100000

RET=`$L7VSADM -S -f 2>&1 | grep "PARSE ERROR"`
EXPECT="PARSE ERROR: Need option value for -f option." 
if [ "${RET}" != "${EXPECT}" ]
then
        echo "Test failed: $L7VSADM -S -f"
        exit 1
fi

exit 0