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

@@ -27,13 +27,10 @@ sleep 2
kill -CONT $PID
sleep 2

kill -HUP $PID
sleep 2

kill -TERM $PID
sleep 1

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

+ 3
- 35
TestService/expected_serviceProgram.log View File

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

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

Sleeping 2 s
Sleeping 2 s...done.
receivedPause(): 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
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: 0
restartCbck1.restartFlag: 0
stopCbck.stopFlag: 1
stopCbck1.stopFlag: 1
notStopCbck.stopFlag: 0

Loading…
Cancel
Save