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