diff --git a/deployment/check/cli/nixosTest.nix b/deployment/check/cli/nixosTest.nix index f08f246c..52defcf0 100644 --- a/deployment/check/cli/nixosTest.nix +++ b/deployment/check/cli/nixosTest.nix @@ -79,10 +79,16 @@ in ## and check that they are working properly. extraTestScript = '' + with subtest("Check the status of the services - there should be none"): + garage.fail("systemctl status garage.service") + mastodon.fail("systemctl status mastodon-web.service") + peertube.fail("systemctl status peertube.service") + pixelfed.fail("systemctl status phpfpm-pixelfed.service") + with subtest("Run deployment with no services enabled"): deployer.succeed("nixops4 apply check-deployment-cli-nothing --show-trace --no-interactive 1>&2") - with subtest("Check the status of the services - there should be none"): + with subtest("Check the status of the services - there should still be none"): garage.fail("systemctl status garage.service") mastodon.fail("systemctl status mastodon-web.service") peertube.fail("systemctl status peertube.service")