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:
parent
6eea28c1f3
commit
f7d5a16363
4
Build.sh
4
Build.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/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
|
# Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
||||||
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
|
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
|
||||||
|
@ -1241,7 +1241,7 @@ case $curdir in
|
||||||
*) echo "#!$curdir/mksh" >test.sh ;;
|
*) echo "#!$curdir/mksh" >test.sh ;;
|
||||||
esac
|
esac
|
||||||
cat >>test.sh <<-EOF
|
cat >>test.sh <<-EOF
|
||||||
export PATH='$PATH'
|
export LC_ALL=C PATH='$PATH'
|
||||||
check_categories=$check_categories
|
check_categories=$check_categories
|
||||||
print Testing mksh for conformance:
|
print Testing mksh for conformance:
|
||||||
fgrep MirOS: '$srcdir/check.t'
|
fgrep MirOS: '$srcdir/check.t'
|
||||||
|
|
Loading…
Reference in New Issue