nixos/tests/postfix-tlspol: fix mta-sts expectation

This is now a temp failure instead of an empty result.
This commit is contained in:
Martin Weinelt
2026-05-05 01:03:04 +02:00
parent 9e66db0080
commit f88aa2d7bf
+1 -1
View File
@@ -30,7 +30,7 @@
machine.log(json.dumps(response, indent=2))
assert response["dane"]["policy"] == "", f"Unexpected DANE policy for localhost: {response["dane"]["policy"]}"
assert response["mta-sts"]["policy"] == "", f"Unexpected MTA-STS policy for localhost: {response["mta-sts"]["policy"]}"
assert response["mta-sts"]["policy"] == "TEMP", f"Unexpected MTA-STS policy for localhost: {response["mta-sts"]["policy"]}"
machine.log(machine.execute("systemd-analyze security postfix-tlspol.service | grep -v ")[1])
'';