Parcourir la 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 il y a 10 ans
Parent
révision
6bfabceaff
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  1. 1
    3
      TestService/buildAndRun

+ 1
- 3
TestService/buildAndRun Voir le fichier

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

Chargement…
Annuler
Enregistrer