What is valid for Build.sh should be valid for test.sh too.

In this case: reset the locale to “C” at start.
Otherwise, perl/OpenBSD fails in an UTF-8 environment, just
because OpenBSD 4.3/zaurus still has no locales in 2008.
This commit is contained in:
tg 2008-05-20 18:47:06 +00:00
parent 6eea28c1f3
commit f7d5a16363
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.324 2008/05/17 18:27:53 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.325 2008/05/20 18:47:06 tg Exp $'
#-
# Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
@ -1241,7 +1241,7 @@ case $curdir in
*) echo "#!$curdir/mksh" >test.sh ;;
esac
cat >>test.sh <<-EOF
export PATH='$PATH'
export LC_ALL=C PATH='$PATH'
check_categories=$check_categories
print Testing mksh for conformance:
fgrep MirOS: '$srcdir/check.t'