lsfilter: Add support for non-timestamp date formats
[ninja.git] / test / unit_test / reports / assume_service.tst
blob0c464e10fb2fac9316a63d8a1d065532312eceec
1 description = Assume service states during program downtime
2 logfile = assumed_states_during_program_downtime_service.log
4 assumed service states during program downtime #1 {
5         assumestatesduringnotrunning = true
6         start_time = 1202684400
7         end_time = 1202770800
8         report_type = services
9         objects {
10                 testhost;PING
11         }
12         correct {
13                 TIME_OK_SCHEDULED = 0
14                 TIME_OK_UNSCHEDULED = 86400
15                 TIME_UNDETERMINED_NOT_RUNNING = 0
16         }
19 first state is undetermined {
20         assumestatesduringnotrunning = 0
21         start_time = 1202690000
22         end_time = 1202699000
23         report_type = services
24         objects {
25                 testhost;PING
26         }
27         correct {
28                 TIME_OK_UNSCHEDULED = 3800
29                 TIME_UNDETERMINED_NOT_RUNNING = 5200
30                 subs {
31                         testhost;PING {
32                                 TIME_OK_UNSCHEDULED = 3800
33                                 TIME_UNDETERMINED_NOT_RUNNING = 5200
34                         }
35                 }
36         }