testsuite: A more portable solution to #9399
authorBen Gamari <ben@smart-cactus.org>
Tue, 11 Jun 2019 13:54:55 +0000 (09:54 -0400)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Thu, 13 Jun 2019 15:52:47 +0000 (11:52 -0400)
commitc53dfb3b2cddfe2d00d9017c9240042cc6bc7fcf
tree130d5668b264d7ae5217976b9156373ee7651bc6
parentd550b771f6ebb91bfe860fc08811a7d74b39eb38
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]