diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-13 20:21:22 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-13 20:21:22 +0200 |
commit | 74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d (patch) | |
tree | ccc7771b3c2f4c8730174b89b5f57db62e55bc04 /test | |
parent | a7a9cbdc136cb0f5cb67b94fb76dc3b6a9ca6c62 (diff) | |
download | egawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.tar.gz egawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.tar.bz2 egawk-74b4f4e5a35f07bc17092e8c9ee01ba77cc8175d.zip |
Expand ranges before compiling the regexp.
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 8 | ||||
-rw-r--r-- | test/gsubtst5.ok | 1 | ||||
-rwxr-xr-x | test/localenl.sh | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index c539fc24..99cc80fc 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,11 @@ +Mon Dec 13 13:54:56 2010 Arnold D. Robbins <arnold@skeeve.com> + + * localenl.sh: Use --posix option. + +Sun Dec 12 13:58:36 2010 Arnold D. Robbins <arnold@skeeve.com> + + * gsubtst5.ok: Adjust contents. + Tue Dec 7 22:31:51 2010 Arnold D. Robbins <arnold@skeeve.com> * Makefile.am (profile1, profile2): New tests. diff --git a/test/gsubtst5.ok b/test/gsubtst5.ok index 2119b6c6..b038c8af 100644 --- a/test/gsubtst5.ok +++ b/test/gsubtst5.ok @@ -1,2 +1 @@ -gawk: gsubtst5.awk:95: warning: range of the form `["-\]' is locale dependant ThisIsaTitleMyTitle diff --git a/test/localenl.sh b/test/localenl.sh index ec1ad31c..ca3ee64e 100755 --- a/test/localenl.sh +++ b/test/localenl.sh @@ -50,7 +50,7 @@ line7 line8 line9 EOF -$AWK ' +$AWK --posix ' BEGIN { RS="\0"; } { if (match($0, /\n[^2\n]*2/)) { got2=1; } else { print "no match 2"; } |