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

@@ -68,9 +68,9 @@ run_test() {
sleep 1

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

PID=$(pidof $name)
sleep 1

kill -TSTP $PID

@@ -121,8 +121,6 @@ return 0

}

stat=0

# Run tests.
run_test Nominal
nominal_status=$?

Loading…
Cancel
Save