[exim-cvs] Debug: internal consistency under testsuite

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Debug: internal consistency under testsuite
Gitweb: https://git.exim.org/exim.git/commitdiff/a06afb97d53eb100c7f1b5b00da746d071d52415
Commit:     a06afb97d53eb100c7f1b5b00da746d071d52415
Parent:     798f6588bc18ec6a36ada846406e98d4e0ec9df9
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Wed Apr 22 22:03:09 2020 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Wed Apr 22 22:03:09 2020 +0100


    Debug: internal consistency under testsuite
---
 src/src/routers/rf_lookup_hostlist.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


diff --git a/src/src/routers/rf_lookup_hostlist.c b/src/src/routers/rf_lookup_hostlist.c
index 7f7ab6d..4b09247 100644
--- a/src/src/routers/rf_lookup_hostlist.c
+++ b/src/src/routers/rf_lookup_hostlist.c
@@ -148,7 +148,9 @@ for (host_item * prev = NULL, * h = addr->host_list, *next_h; h; h = next_h)
     if (lookup_type & LK_DEFAULT)
       {
       DEBUG(D_route|D_host_lookup)
-        debug_printf("DNS lookup failed: trying getipnodebyname\n");
+        debug_printf("DNS lookup failed: trying %s\n",
+          f.running_in_test_harness
+          ? "host_fake_gethostbyname" : "getipnodebyname");
       rc = host_find_byname(h, ignore_target_hosts, HOST_FIND_QUALIFY_SINGLE,
         &canonical_name, TRUE);
       }