summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/mx.rb
AgeCommit message (Collapse)Author
2016-04-22More updates to silence rubocop style-guides.Steve Kemp
These warnings were largely whitespace-based.
2015-04-16Updated test-handler for new API.Steve Kemp
This update consists of two changes: * No longer return "true" or "false" instead return "TEST_FAILED", or "TEST_SUCCEEDED". * Removed the testing of test-inversion from the class, now it lives in the base-class where it should have done all along.
2015-03-09Removed trailing whitespace from the codeSteve Kemp
2015-03-09More minor space fixupsSteve Kemp
2015-03-09Whitespace fixups.Steve Kemp
These were all identified and suggested by rubocop.
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09Do not terminate expressions with ";".Steve Kemp
Ruby is not Perl, much as I sometimes wish it were.
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Avoid "Array.new" and "Hash.new"Steve Kemp
Instead use {} + ().
2015-03-09Don't use "::" for method-calls.Steve Kemp
Instead prefer ".". Flagged by rubocop
2015-01-22Allow inverted tests for MX.Steve Kemp
(i.e. "pxe.io must not run mx otherwise 'no mail for steve'.")
2015-01-13Updated to actually test the backend MX servers.Steve Kemp
We now connec to the MX-servers via XX:25 and alert if that fails.:wq
2015-01-13Lookup MX record(s) for the domain under test.Steve Kemp
2015-01-13Stub MX-test.Steve Kemp
This will perform a DNS-lookup AND SMTP-test for the given domain.