From a8b6296a1ebbc5065fa78562246c9384c7c4677d Mon Sep 17 00:00:00 2001 From: Jess Date: Fri, 5 Dec 2025 17:20:48 +1300 Subject: [PATCH] tests/restic: fix `timedatectl` failure Systemd [added a check](https://github.com/systemd/systemd/commit/6a12c90ca39b45087a84c7faa014f24cd6dc330c) which broke this test. So use `date` instead of `timedatectl`. --- tests/integration/standalone/restic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/standalone/restic.nix b/tests/integration/standalone/restic.nix index aa45acfc4..7298facb1 100644 --- a/tests/integration/standalone/restic.nix +++ b/tests/integration/standalone/restic.nix @@ -216,7 +216,7 @@ in def make_backup(time): global snapshot_count - machine.succeed(f"timedatectl set-time '{time}'") + machine.succeed(f"date --set='{time}'") systemctl_succeed_as_alice("start restic-backups-prune-me.service") snapshot_count += 1 actual = \