Skip to content

Commit

Permalink
Extend test with command line invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Dec 29, 2024
1 parent e4c9571 commit ba4d1e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@
print(mail)
if "1 Delivered" not in mail:
raise Exception("Missing test '1 Delivered' in output of 'mail -p', should have been enabled in 'customServices'")
text = server.succeed("logwatch --output stdout")
print(text)
if "2 Delivered" not in text:
raise Exception("Missing test '2 Delivered' in output of 'logwatch --output stdout'")
'';
};
});
Expand Down

0 comments on commit ba4d1e1

Please sign in to comment.