summaryrefslogtreecommitdiff
path: root/test/functional/sample_test.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-07-25 08:59:42 +0200
committerAzul <azul@riseup.net>2017-07-25 08:59:42 +0200
commita84cadd0d689fdb12bea36973275d77646e5aa24 (patch)
tree9f1a740b34c9d2e50c8f6d80172ba81bbd4e182d /test/functional/sample_test.rb
parent96a82fbfa5f0ba7d00a0f3e8b95942f05b1211fa (diff)
test: regression test for nonexisting domain
related to platform#8674
Diffstat (limited to 'test/functional/sample_test.rb')
-rw-r--r--test/functional/sample_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/sample_test.rb b/test/functional/sample_test.rb
index 4be5c26..18fad74 100644
--- a/test/functional/sample_test.rb
+++ b/test/functional/sample_test.rb
@@ -29,6 +29,11 @@ class SampleTest < FunctionalTest
assert_lookup_status 404, 'postmaster@cs.ucl.ac.uk'
end
+ # platform/#8674 handle nonexisting domains
+ def test_nicknym
+ assert_lookup_status 404, 'postmaster@now-dont-you-dare-register-this-domain.coop'
+ end
+
def test_no_file_descriptors_leak
lookup 'test@mail.bitmask.net'
before = open_files_count