浏览代码

Wait just after spawning the test daemon on Linux. Reason: Give

the OS a chance to start the daemon; otherwise pidof returns " ".


git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@27 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
master
adeniz 11 年前
父节点
当前提交
6bfabceaff
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      TestService/buildAndRun

+ 1
- 3
TestService/buildAndRun 查看文件

sleep 1 sleep 1


$name $(pwd)/$logFile $message $name $(pwd)/$logFile $message
sleep 1


PID=$(pidof $name) PID=$(pidof $name)
sleep 1


kill -TSTP $PID kill -TSTP $PID




} }


stat=0

# Run tests. # Run tests.
run_test Nominal run_test Nominal
nominal_status=$? nominal_status=$?

正在加载...
取消
保存