From a84cadd0d689fdb12bea36973275d77646e5aa24 Mon Sep 17 00:00:00 2001
From: Azul <azul@riseup.net>
Date: Tue, 25 Jul 2017 08:59:42 +0200
Subject: [PATCH] test: regression test for nonexisting domain

related to platform#8674
---
 test/functional/sample_test.rb | 5 +++++
 1 file changed, 5 insertions(+)

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
-- 
GitLab