testsuite: A more portable solution to #9399 wip/T16798
authorBen Gamari <ben@smart-cactus.org>
Tue, 11 Jun 2019 13:54:55 +0000 (09:54 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 11 Jun 2019 21:31:43 +0000 (17:31 -0400)
commit43fd712b4f679fe00d6d75c8bc088357052a0365
treebd33768330b08856d9f82675acb9ce5b78208234
parente5d275f45677ed89df310754973a15c522dc1003
testsuite: A more portable solution to #9399

Previously we used an awful hybrid batch script/Bourne shell script to
allow this test to run both on Windows and Linux (fixing #9399).
However, this breaks on some libc implementations (e.g. musl). Fix this.

Fixes #16798.
libraries/base/tests/all.T
libraries/base/tests/enum01.hs
libraries/base/tests/enum02.hs
libraries/base/tests/enum03.hs
libraries/base/tests/enum_processor.bat
libraries/base/tests/enum_processor.py [changed mode: 0644->0755]