Browse Source

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 10 years ago
parent
commit
6bfabceaff
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      TestService/buildAndRun

+ 1
- 3
TestService/buildAndRun View File

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=$?

Loading…
Cancel
Save