aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/ChangeLog7
-rw-r--r--test/nonfatal1.awk4
-rw-r--r--test/nonfatal1.ok2
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 <arnold@skeeve.com>
+
+ * 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 <vidgizmo@gmail.com> for the report.
+
2018-04-14 Manuel Collado <m-collado@users.sourceforge.net>
* 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