Browse Source

Removed Resume test.


git-svn-id: https://svn.microneil.com/svn/CodeDweller-Tests/trunk@21 b3372362-9eaa-4a85-aa2b-6faa1ab7c995
master
adeniz 10 years ago
parent
commit
04a85b85a1
2 changed files with 4 additions and 39 deletions
  1. 1
    4
      TestService/buildAndRun
  2. 3
    35
      TestService/expected_serviceProgram.log

+ 1
- 4
TestService/buildAndRun View File

kill -CONT $PID kill -CONT $PID
sleep 2 sleep 2


kill -HUP $PID
sleep 2

kill -TERM $PID kill -TERM $PID
sleep 1 sleep 1


if cmp expected_$logFileName $logFileName
if diff --strip-trailing-cr expected_$logFileName $logFileName > /dev/null 2>&1
then then
echo CodeDweller::Service under Linux: ok echo CodeDweller::Service under Linux: ok
else else

+ 3
- 35
TestService/expected_serviceProgram.log View File

Sleeping 2 s
Sleeping 2 s...done.
receivedPause(): 1 receivedPause(): 1
receivedResume(): 0 receivedResume(): 0
receivedRestart(): 0
receivedStop(): 0 receivedStop(): 0
Clearing all flags. Clearing all flags.
receivedPause(): 0 receivedPause(): 0
receivedResume(): 0 receivedResume(): 0
receivedRestart(): 0
receivedStop(): 0 receivedStop(): 0
pauseCbck.pauseFlag: 1 pauseCbck.pauseFlag: 1
pauseCbck1.pauseFlag: 1 pauseCbck1.pauseFlag: 1
resumeCbck.resumeFlag: 0 resumeCbck.resumeFlag: 0
resumeCbck1.resumeFlag: 0 resumeCbck1.resumeFlag: 0
restartCbck.restartFlag: 0
restartCbck1.restartFlag: 0
stopCbck.stopFlag: 0 stopCbck.stopFlag: 0
stopCbck1.stopFlag: 0 stopCbck1.stopFlag: 0
notStopCbck.stopFlag: 0 notStopCbck.stopFlag: 0


Sleeping 2 s
Sleeping 2 s...done.
receivedPause(): 0 receivedPause(): 0
receivedResume(): 1 receivedResume(): 1
receivedRestart(): 0
receivedStop(): 0 receivedStop(): 0
Clearing all flags. Clearing all flags.
receivedPause(): 0 receivedPause(): 0
receivedResume(): 0 receivedResume(): 0
receivedRestart(): 0
receivedStop(): 0 receivedStop(): 0
pauseCbck.pauseFlag: 0 pauseCbck.pauseFlag: 0
pauseCbck1.pauseFlag: 0 pauseCbck1.pauseFlag: 0
resumeCbck.resumeFlag: 1 resumeCbck.resumeFlag: 1
resumeCbck1.resumeFlag: 1 resumeCbck1.resumeFlag: 1
restartCbck.restartFlag: 0
restartCbck1.restartFlag: 0
stopCbck.stopFlag: 0 stopCbck.stopFlag: 0
stopCbck1.stopFlag: 0 stopCbck1.stopFlag: 0
notStopCbck.stopFlag: 0 notStopCbck.stopFlag: 0


Sleeping 2 s
Sleeping 2 s...done.
receivedPause(): 0 receivedPause(): 0
receivedResume(): 0 receivedResume(): 0
receivedRestart(): 1
receivedStop(): 0
Clearing all flags.
receivedPause(): 0
receivedResume(): 0
receivedRestart(): 0
receivedStop(): 0
pauseCbck.pauseFlag: 0
pauseCbck1.pauseFlag: 0
resumeCbck.resumeFlag: 0
resumeCbck1.resumeFlag: 0
restartCbck.restartFlag: 1
restartCbck1.restartFlag: 1
stopCbck.stopFlag: 0
stopCbck1.stopFlag: 0
notStopCbck.stopFlag: 0

Sleeping 2 s
receivedPause(): 0
receivedResume(): 0
receivedRestart(): 0
receivedStop(): 1 receivedStop(): 1
Clearing all flags. Clearing all flags.
receivedPause(): 0 receivedPause(): 0
receivedResume(): 0 receivedResume(): 0
receivedRestart(): 0
receivedStop(): 0 receivedStop(): 0
pauseCbck.pauseFlag: 0 pauseCbck.pauseFlag: 0
pauseCbck1.pauseFlag: 0 pauseCbck1.pauseFlag: 0
resumeCbck.resumeFlag: 0 resumeCbck.resumeFlag: 0
resumeCbck1.resumeFlag: 0 resumeCbck1.resumeFlag: 0
restartCbck.restartFlag: 0
restartCbck1.restartFlag: 0
stopCbck.stopFlag: 1 stopCbck.stopFlag: 1
stopCbck1.stopFlag: 1 stopCbck1.stopFlag: 1
notStopCbck.stopFlag: 0 notStopCbck.stopFlag: 0

Loading…
Cancel
Save