test/backups: check that bitcoind stops without errors

This commit is contained in:
Erik Arvstedt 2023-06-01 14:01:30 +02:00 committed by Jonas Nick
parent 8a791b754e
commit 9b575e4f3f
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -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"