Commit tests for batch and batchload with different character encodings.
commita1ec084e8a89107ad9e71ca2ff3036df2512f2c3
authorRobert Dodier <robert_dodier@users.sourceforge.net>
Wed, 8 Dec 2021 05:17:55 +0000 (7 21:17 -0800)
committerRobert Dodier <robert_dodier@users.sourceforge.net>
Wed, 8 Dec 2021 05:22:01 +0000 (7 21:22 -0800)
tree809b7b44153f95c8654a3b184448a365088bde69
parent37914ae44d9d1e2739d2e8c1fdf933034dac8473
Commit tests for batch and batchload with different character encodings.

The tests comprise a test script and a number of batch
files which contain strings encoded with different encodings.
The encoding is specified to openr to open a stream,
and then the stream is passed to batch or batchload.

CMUCL, Clisp, ECL, and Clozure CL all pass these tests.
SBCL passes most tests, but there are two failures;
I have not investigated. ABCL should work.
Comments in the code state that GCL ignores encoding
so I do not expect it to work.
27 files changed:
share/test_batch_encodings/foo-CP1252.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-CP1252.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-1.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-1.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-10.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-10.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-14.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-14.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-15.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-15.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-2.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-2.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-3.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-3.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-4.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-4.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-5.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-5.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-6.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-6.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-7.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-7.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-8.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-9.UTF-8.mac [new file with mode: 0644]
share/test_batch_encodings/foo-ISO-8859-9.mac [new file with mode: 0644]
share/test_batch_encodings/rtest_batch_encodings.mac [new file with mode: 0644]