diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-08 21:25:28 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-08 21:25:28 +0200 |
commit | b6c957dae27d5f10393572391c75c51c85a3a68c (patch) | |
tree | 2fc84bb61e09d6da96ec9451f911d103828d719c | |
parent | 6965b92f1bc3d5aca7a39d31cc6a7e5fd0e0c1a9 (diff) | |
download | egawk-b6c957dae27d5f10393572391c75c51c85a3a68c.tar.gz egawk-b6c957dae27d5f10393572391c75c51c85a3a68c.tar.bz2 egawk-b6c957dae27d5f10393572391c75c51c85a3a68c.zip |
Fix nonfatal3 test.
-rw-r--r-- | test/ChangeLog | 5 | ||||
-rw-r--r-- | test/nonfatal3.awk | 2 | ||||
-rw-r--r-- | test/nonfatal3.ok | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index 2652429f..b6338a8d 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,8 @@ +2015-03-08 Arnold D. Robbins <arnold@skeeve.com> + + * nonfatal3.awk, nonfatal3.ok: Adjust for portability. + Thanks to Hermann Peifer for the report. + 2015-03-06 Arnold D. Robbins <arnold@skeeve.com> * charasbytes.awk, ofs1.awk, range1.awk, sortglos.awk, diff --git a/test/nonfatal3.awk b/test/nonfatal3.awk index eace9aec..b2a4ec9e 100644 --- a/test/nonfatal3.awk +++ b/test/nonfatal3.awk @@ -2,5 +2,5 @@ BEGIN { PROCINFO["NONFATAL"] # valid host but bogus port print |& "/inet/tcp/0/localhost/0" - print ERRNO + print ERRNO != "" } diff --git a/test/nonfatal3.ok b/test/nonfatal3.ok index 5d5be35a..d00491fd 100644 --- a/test/nonfatal3.ok +++ b/test/nonfatal3.ok @@ -1 +1 @@ -Connection refused +1 |