mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 13:14:15 +03:00
test/backups: check that bitcoind stops without errors
This commit is contained in:
parent
8a791b754e
commit
9b575e4f3f
@ -339,6 +339,7 @@ def _():
|
||||
succeed("bitcoin-cli -named createwallet wallet_name=test blank=true >/dev/null")
|
||||
|
||||
succeed("systemctl stop bitcoind")
|
||||
assert_matches("systemctl show -p ExecMainStatus --value bitcoind", "^0$")
|
||||
succeed("systemctl start duplicity")
|
||||
machine.wait_until_succeeds(log_has_string("duplicity", "duplicity.service: Deactivated successfully."))
|
||||
run_duplicity = "export $(cat /secrets/backup-encryption-env); duplicity"
|
||||
|
Loading…
Reference in New Issue
Block a user