More regression tests
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2025-10-28 00:05:49 +01:00
parent f4f386983a
commit d452b109bc
17 changed files with 1023 additions and 666 deletions

View file

@ -4579,7 +4579,6 @@ static void state_progress_graph(struct snapraid_state* state, struct snapraid_i
for (i = state->disklist; i != 0; i = i->next) {
struct snapraid_disk* disk = i->data;
v = disk->progress_tick[current] - ref(disk->progress_tick, oldest);
printr(disk->name, pad);
@ -4690,7 +4689,7 @@ int state_progress(struct snapraid_state* state, struct snapraid_io* io, block_o
now = time(0);
/* thermal measure */
if (now > state->thermal_latest + THERMAL_PERIOD_SECONDS) {
if (now > state->thermal_latest + THERMAL_PERIOD_SECONDS || state->opt.fake_device) {
state->thermal_latest = now;
state_thermal(state, now);
}