Registry testing - part 13

This commit is contained in:
Maurus Decimus
2026-03-23 18:52:36 +01:00
parent 944505a925
commit 3a7dd3ca5d
42 changed files with 1524 additions and 1233 deletions

View File

@@ -11,7 +11,7 @@ if eval "query('sql', 'SELECT 1 FROM blocked_senders WHERE addr=? LIMIT 1', [env
reject "Your address has been blocked.";
}
if eval "!is_local_domain('', 'localdomain.org') || is_local_domain('', 'other.org')" {
let "reason" "'result: ' + is_local_domain('', 'localdomain.org') + ' ' + is_local_domain('', 'other.org')";
if eval "!is_local_domain('foobar.org') || is_local_domain('other.org')" {
let "reason" "'result: ' + is_local_domain('foobar.org') + ' ' + is_local_domain('other.org')";
reject "is_local_domain function failed: ${reason}";
}