lsfilter: Add support for non-timestamp date formats
[ninja.git] / test / unit_test / reports / assume.tst
bloba42373b1a1ae64d9a6bc42397c4535e70751638d
1 description = Assume states during program downtime
2 logfile = assumed_states_during_program_downtime.log
4 assumed states during program downtime #1 {
5         assumestatesduringnotrunning = true
6         start_time = 1202684400
7         end_time = 1202770800
8         report_type = hosts
9         objects {
10                 testhost
11         }
12         correct {
13                 TIME_UP_SCHEDULED = 0
14                 TIME_UP_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 = hosts
24         objects {
25                 testhost
26         }
27         correct {
28                 TIME_UP_UNSCHEDULED = 3800
29                 TIME_UNDETERMINED_NOT_RUNNING = 5200
30                 subs {
31                         testhost {
32                                 TIME_UP_UNSCHEDULED = 3800
33                                 TIME_UNDETERMINED_NOT_RUNNING = 5200
34                         }
35                 }
36         }