aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-05-20 23:14:58 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-05-20 23:14:58 +0300
commit76dd301e43e1d3bc93652704293dc71879513ce9 (patch)
treee14ec87377a1f5b54c9bcb0e2e04d17f65937728 /test
parent6514a4510c440d0ae45b8aa58221b229b96a5189 (diff)
parent0f9d4355a03d000938d87d71ba62f0ac2717334a (diff)
downloadegawk-76dd301e43e1d3bc93652704293dc71879513ce9.tar.gz
egawk-76dd301e43e1d3bc93652704293dc71879513ce9.tar.bz2
egawk-76dd301e43e1d3bc93652704293dc71879513ce9.zip
Merge branch 'master' into feature/api-mpfr
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog4
-rw-r--r--test/README6
-rw-r--r--test/noeffect.awk1
-rw-r--r--test/noeffect.ok1
4 files changed, 12 insertions, 0 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 9cca7b30..b7f18d9b 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2017-05-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * noeffect.awk, noeffect.ok: Updated after code change.
+
2017-05-01 Aharon Robbins <aharon.robbins@intel.com>
* Makefile.am (sourcesplit): New test.
diff --git a/test/README b/test/README
index 2343be2f..61976b8a 100644
--- a/test/README
+++ b/test/README
@@ -1,4 +1,5 @@
Mon Jan 22 13:08:58 EST 1996
+============================
This directory contains the tests for gawk. The tests use the
following conventions.
@@ -16,3 +17,8 @@ compare actual and expected results, in case they differ.
If they do differ (other than strftime.ok and _strftime!), send in a
bug report. See the manual for the bug report procedure.
+
+Known Issues:
+=============
+May 2017: On a system with no ptys available, the pty1 test will hang.
+There isn't anything that can be done about this.
diff --git a/test/noeffect.awk b/test/noeffect.awk
index b67a5c57..472c408e 100644
--- a/test/noeffect.awk
+++ b/test/noeffect.awk
@@ -2,4 +2,5 @@ BEGIN {
s == "hello, world";
s + 1
;;
+ "s" 1
}
diff --git a/test/noeffect.ok b/test/noeffect.ok
index e9bed995..6a0cc752 100644
--- a/test/noeffect.ok
+++ b/test/noeffect.ok
@@ -1,4 +1,5 @@
gawk: noeffect.awk:2: warning: statement may have no effect
gawk: noeffect.awk:3: warning: statement may have no effect
+gawk: noeffect.awk:5: warning: statement may have no effect
gawk: noeffect.awk:2: warning: reference to uninitialized variable `s'
gawk: noeffect.awk:3: warning: reference to uninitialized variable `s'