From 4b98106ce555f9364541e941973852ddc4d34389 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 17 Apr 2018 16:22:44 +0300 Subject: Fix nonfatal1 test for ISPs that resolve local:host.domain. --- test/ChangeLog | 7 +++++++ test/nonfatal1.awk | 4 ++-- test/nonfatal1.ok | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index 7934f640..c47ad6a0 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,10 @@ +2018-04-17 Arnold D. Robbins + + * nonfatal1.awk, nonfatal1.ok: Add a bunch of bad characters + to the hostname so that ISPs who resove local:host don't + cause the test to time out instead of failing. Thanks to + Mike Burkett for the report. + 2018-04-14 Manuel Collado * Makefile.am (readdir_retest): Add new test. diff --git a/test/nonfatal1.awk b/test/nonfatal1.awk index a9228f3a..b782266d 100644 --- a/test/nonfatal1.awk +++ b/test/nonfatal1.awk @@ -1,6 +1,6 @@ BEGIN { PROCINFO["NONFATAL"] - # note that ":" is not a valid hostname character - print |& "/inet/tcp/0/local:host/25" + # note the bad characters in the hostname + print |& "/inet/tcp/0/local@#!%host/25" print (ERRNO != "") } diff --git a/test/nonfatal1.ok b/test/nonfatal1.ok index 51583f2c..1d176f17 100644 --- a/test/nonfatal1.ok +++ b/test/nonfatal1.ok @@ -1,2 +1,2 @@ -gawk: nonfatal1.awk:4: warning: remote host and port information (local:host, 25) invalid +gawk: nonfatal1.awk:4: warning: remote host and port information (local@#!%host, 25) invalid 1 -- cgit v1.2.3