aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog6
-rw-r--r--test/Makefile.am4
-rw-r--r--test/Makefile.in9
-rw-r--r--test/Maketests5
-rw-r--r--test/concat5.awk7
-rw-r--r--test/concat5.ok1
6 files changed, 30 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index 3a5a6610..d07a062a 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2017-01-15 Andrew J. Schorr <aschorr@telemetry-investments.com>
+
+ * Makefile.am (concat5): New test.
+ * concat5.awk, concat5.ok: New files.
+ Check for bug forwarded by Corinna Vinschen from Cygwin mailing list.
+
2016-11-21 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.am (EXTRA_DIST): Add valgrind.awk to the list.
diff --git a/test/Makefile.am b/test/Makefile.am
index 22099496..f63c02ac 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -182,6 +182,8 @@ EXTRA_DIST = \
concat4.awk \
concat4.in \
concat4.ok \
+ concat5.awk \
+ concat5.ok \
convfmt.awk \
convfmt.ok \
crlf.awk \
@@ -1072,7 +1074,7 @@ BASIC_TESTS = \
aryprm8 aryprm9 arysubnm asgext awkpath \
back89 backgsub badassign1 badbuild \
callparam childin clobber closebad clsflnam compare compare2 concat1 concat2 \
- concat3 concat4 convfmt \
+ concat3 concat4 concat5 convfmt \
datanonl defref delargv delarpm2 delarprm delfunc dfamb1 dfastress dynlj \
eofsplit exit2 exitval1 exitval2 exitval3 \
fcall_exit fcall_exit2 fldchg fldchgnf fnamedat fnarray fnarray2 \
diff --git a/test/Makefile.in b/test/Makefile.in
index 30ddfbc1..2fad102f 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -439,6 +439,8 @@ EXTRA_DIST = \
concat4.awk \
concat4.in \
concat4.ok \
+ concat5.awk \
+ concat5.ok \
convfmt.awk \
convfmt.ok \
crlf.awk \
@@ -1328,7 +1330,7 @@ BASIC_TESTS = \
aryprm8 aryprm9 arysubnm asgext awkpath \
back89 backgsub badassign1 badbuild \
callparam childin clobber closebad clsflnam compare compare2 concat1 concat2 \
- concat3 concat4 convfmt \
+ concat3 concat4 concat5 convfmt \
datanonl defref delargv delarpm2 delarprm delfunc dfamb1 dfastress dynlj \
eofsplit exit2 exitval1 exitval2 exitval3 \
fcall_exit fcall_exit2 fldchg fldchgnf fnamedat fnarray fnarray2 \
@@ -2810,6 +2812,11 @@ concat3:
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+concat5:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+
convfmt:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index c48b76df..84909f37 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -180,6 +180,11 @@ concat3:
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+concat5:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+
convfmt:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/concat5.awk b/test/concat5.awk
new file mode 100644
index 00000000..6bfbb856
--- /dev/null
+++ b/test/concat5.awk
@@ -0,0 +1,7 @@
+BEGIN {
+ OFMT = "%.8g"
+ x = 1
+ x += .1
+ x = (x "a")
+ print x
+}
diff --git a/test/concat5.ok b/test/concat5.ok
new file mode 100644
index 00000000..eea55936
--- /dev/null
+++ b/test/concat5.ok
@@ -0,0 +1 @@
+1.1a