mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-09 02:21:05 +01:00
tests/restic: fix timedatectl failure
Systemd
[added a check](6a12c90ca3)
which broke this test. So use `date` instead of `timedatectl`.
This commit is contained in:
parent
68f7b34179
commit
a8b6296a1e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue