Fix posix/tst-regex by using a dedicated input-file.
commit3a9d025fdd56f595ef9cb142486da4ee1b75281f
authorStefan Liebler <stli@linux.ibm.com>
Wed, 28 Aug 2019 08:29:24 +0000 (28 10:29 +0200)
committerStefan Liebler <stli@linux.ibm.com>
Wed, 28 Aug 2019 08:29:24 +0000 (28 10:29 +0200)
treed4a8df8e59e2c5e5f7efb49705109327ea8e0701
parent1bced8cadc82077f0201801239e89eb24b68e9aa
Fix posix/tst-regex by using a dedicated input-file.

The recent commit e6855a3bdfe147c52b29b5e7d70a95a8aa22ece0
changed the encoding of ChangeLog.old/ChangeLog.8 from ISO-8859 to UTF-8.
Unfortunately the test posix/tst-regex assumes the former encoding.
Furthermore Francesco Potortì is now written with 'ì' instead of 'i`'
which would lead to two further matches in the first call to test_expr.

This patch just copies the former ChangeLog.8 file to tst-regex.input
and adjusts the test in order to use this new input file.

ChangeLog:

* posix/tst-regex.c (do_test): Use tst-regex.input as input file.
* posix/tst-regex.input: New file.
ChangeLog
posix/tst-regex.c
posix/tst-regex.input [new file with mode: 0644]