Skip to content

Commit

Permalink
test: Work around broken centos/fedora postfix config in non-IPv6 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Dec 17, 2017
1 parent f1a1e14 commit 5db0365
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/lib/completions/postconf.exp
Expand Up @@ -10,10 +10,12 @@ proc teardown {} {

setup


assert_complete_any "postconf p"


# Broken configs may abort output of postconf halfway through, so use
# something from early output to not trigger false positives because of
# this. For example, inet_protocols=all but no IPv6 configured:
# postconf: fatal: parameter inet_interfaces: no local interface found for ::1
# ...and output can be cut off somewhere near lmtp_tls_secur*.
assert_complete_any "postconf al"
sync_after_int


Expand Down

0 comments on commit 5db0365

Please sign in to comment.