test/TestSuite/TimeSheets/run in taskjuggler-0.0.6 vs test/TestSuite/TimeSheets/run in taskjuggler-0.0.7
- old
+ new
@@ -1,11 +1,12 @@
#! /bin/bash
function cleanup
{
tj3client --silent terminate 2> /dev/null
- killall -9 tj3d 2> /dev/null
+ sleep 2
+ #killall -9 tj3d 2> /dev/null
/bin/rm -rf timesheets.log \
TimeSheets TimeSheetTemplates \
sender.log receiver.log summary.log tj3d.log
}
@@ -36,11 +37,11 @@
# Run a receiver test
tj3ts_receiver --dryrun < dev2_mail1 >> receiver.log || error "rec1"
tj3ts_receiver --dryrun < dev2_mail2 >> receiver.log || error "rec2"
check "From: foo@bar.com" receiver.log 2
check "Report from " receiver.log 2
-check "Green" receiver.log 3
+check "Green" receiver.log 6
# Update the project with the server to include the submitted time
# sheets. This is only to test the time sheet data surpression.
tj3client --silent add project.tjp TimeSheets/all.tji || error "add2"
@@ -48,12 +49,12 @@
tj3ts_summary --dryrun -e 2002-03-01 >> summary.log || error "summary"
check "To: archive@bar.com" summary.log 2
check "To: crew@bar.com" summary.log 1
check "From: foo@bar.com" summary.log 7
check "From: =?UTF-8?B?U8OpYmFzdGllbg==?= Bono <SBono@crappysoftware.com>" summary.log 1
-check "The following 5 person(s) have not yet submitted their time sheets" summary.log 2
-check "Weekly Report from" summary.log 2
-check "Green" summary.log 6
+check "The following 5 person(s) have not yet submitted their time sheets" summary.log 4
+check "Weekly Report from" summary.log 4
+check "Green" summary.log 12
check "Your time sheet for the period ending 2002-03-01 is overdue" summary.log 5
tj3client --silent terminate
sleep 2
check "TaskJuggler daemon is listening" tj3d.log 1