Add: merge regression tests

This commit is contained in:
Yoann La Cancellera
2023-09-20 11:39:03 +02:00
parent 75ce300d7c
commit 0d554e9515
13 changed files with 8551 additions and 0 deletions

View File

@@ -69,6 +69,17 @@ func TestMain(t *testing.T) {
cmd: []string{"list", "--all", "--until=2023-03-12T12:29:51.445280Z"},
path: "tests/logs/upgrade/*.log",
},
{
name: "merge_rotated_daily_list_all",
cmd: []string{"list", "--all"},
path: "tests/logs/merge_rotated_daily/*",
},
{
name: "merge_rotated_daily_list_all_since_keeping_latest_logs",
cmd: []string{"list", "--all", "--since=2023-03-18T21:18:23.102709+02:00"},
path: "tests/logs/merge_rotated_daily/*",
},
}
for _, test := range tests {