From 9b575e4f3ff7016ccd975b3f53df75d14f3381f5 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 1 Jun 2023 14:01:30 +0200 Subject: [PATCH] test/backups: check that bitcoind stops without errors --- test/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tests.py b/test/tests.py index 8be260d..a97da3f 100644 --- a/test/tests.py +++ b/test/tests.py @@ -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"