remove check_category “pdksh”, it starts to make trouble and was never

taken seriously anyway, just historic ballast
This commit is contained in:
tg
2008-06-21 19:20:15 +00:00
parent 419600db62
commit 5d73013c02
3 changed files with 11 additions and 19 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.325 2008/05/20 18:47:06 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.326 2008/06/21 19:20:14 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
@ -215,7 +215,7 @@ fi
rm -f a.exe a.out *core crypt.exp lft mksh mksh.cat1 mksh.exe no *.o \ rm -f a.exe a.out *core crypt.exp lft mksh mksh.cat1 mksh.exe no *.o \
scn.c signames.inc stdint.h test.sh x scn.c signames.inc stdint.h test.sh x
curdir=`pwd` srcdir=`dirname "$0"` check_categories=pdksh curdir=`pwd` srcdir=`dirname "$0"` check_categories=
e=echo e=echo
h=1 h=1
@ -1252,7 +1252,7 @@ cat >>test.sh <<-EOF
\$perl -e print >/dev/null 2>&1 || perl=perl \$perl -e print >/dev/null 2>&1 || perl=perl
\$perl -e print >/dev/null 2>&1 || exit 1 \$perl -e print >/dev/null 2>&1 || exit 1
exec \$perl '$srcdir/check.pl' -s '$srcdir/check.t' \\ exec \$perl '$srcdir/check.pl' -s '$srcdir/check.t' \\
-p '$curdir/mksh' -C \$check_categories \$*$tsts -p '$curdir/mksh' -C \${check_categories#,} \$*$tsts
EOF EOF
chmod 755 test.sh chmod 755 test.sh
echo set -x >Rebuild.sh echo set -x >Rebuild.sh

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/Makefile,v 1.59 2008/05/17 18:27:54 tg Exp $ # $MirOS: src/bin/mksh/Makefile,v 1.60 2008/06/21 19:20:15 tg Exp $
#- #-
# use CPPFLAGS=-DDEBUG __CRAZY=Yes to check for certain more stuff # use CPPFLAGS=-DDEBUG __CRAZY=Yes to check for certain more stuff
@ -36,7 +36,7 @@ regress: ${PROG} check.pl check.t
mkdir -p regress-dir mkdir -p regress-dir
echo export FNORD=666 >regress-dir/.mkshrc echo export FNORD=666 >regress-dir/.mkshrc
HOME=$$(readlink -nf regress-dir) perl ${.CURDIR}/check.pl \ HOME=$$(readlink -nf regress-dir) perl ${.CURDIR}/check.pl \
-s ${.CURDIR}/check.t -v -p ./${PROG} -C pdksh -s ${.CURDIR}/check.t -v -p ./${PROG}
test-build: .PHONY test-build: .PHONY
-rm -rf build-dir -rm -rf build-dir

20
check.t
View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.198 2008/06/08 17:15:29 tg Exp $ # $MirOS: src/bin/mksh/check.t,v 1.199 2008/06/21 19:20:15 tg Exp $
# $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $
# $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -10,7 +10,6 @@ expected-stdout:
@(#)MIRBSD KSH R34 2008/06/08 @(#)MIRBSD KSH R34 2008/06/08
description: description:
Check version of shell. Check version of shell.
category: pdksh
stdin: stdin:
echo $KSH_VERSION echo $KSH_VERSION
name: KSH_VERSION name: KSH_VERSION
@ -4252,7 +4251,7 @@ expected-stdout:
name: persist-history-1 name: persist-history-1
description: description:
Check if persistent history saving works Check if persistent history saving works
category: pdksh,!no-histfile category: !no-histfile
arguments: !-i! arguments: !-i!
env-setup: !ENV=./Env!HISTFILE=hist.file! env-setup: !ENV=./Env!HISTFILE=hist.file!
file-setup: file 644 "Env" file-setup: file 644 "Env"
@ -4297,7 +4296,7 @@ description:
multibyte character of the shell input (with -c, from standard multibyte character of the shell input (with -c, from standard
input, as file, or as eval argument), but nowhere else input, as file, or as eval argument), but nowhere else
# breaks on Mac OSX (HFS+ non-standard Unicode canonical decomposition) # breaks on Mac OSX (HFS+ non-standard Unicode canonical decomposition)
category: pdksh,!os:darwin category: !os:darwin
stdin: stdin:
mkdir foo mkdir foo
print '#!/bin/sh\necho ohne' >foo/fnord print '#!/bin/sh\necho ohne' >foo/fnord
@ -4342,7 +4341,7 @@ description:
XXX if the OS can already execute them, we lose XXX if the OS can already execute them, we lose
note: cygwin execve(2) doesn't return to us with ENOEXEC, we lose note: cygwin execve(2) doesn't return to us with ENOEXEC, we lose
note: Ultrix perl5 t4 returns 65280 (exit-code 255) and no text note: Ultrix perl5 t4 returns 65280 (exit-code 255) and no text
category: pdksh,!os:cygwin,!os:uwin-nt,!os:ultrix category: !os:cygwin,!os:uwin-nt,!os:ultrix
env-setup: !FOO=BAR! env-setup: !FOO=BAR!
stdin: stdin:
print '#!'"$__progname"'\nprint "a=$ENV{FOO}";' >t1 print '#!'"$__progname"'\nprint "a=$ENV{FOO}";' >t1
@ -4365,7 +4364,6 @@ expected-stderr-pattern:
name: utf8bom-3 name: utf8bom-3
description: description:
Reading the UTF-8 BOM should enable the utf8-hack flag Reading the UTF-8 BOM should enable the utf8-hack flag
category: pdksh
stdin: stdin:
"$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi' "$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi'
"$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi' "$__progname" -c ':; if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then print on; else print off; fi'
@ -4376,7 +4374,6 @@ expected-stdout:
name: utf8opt-1 name: utf8opt-1
description: description:
Check that the utf8-hack flag is not set at non-interactive startup Check that the utf8-hack flag is not set at non-interactive startup
category: pdksh
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8! env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
stdin: stdin:
if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then if [[ $(set +o) = *@(-o utf8-hack)@(| *) ]]; then
@ -4390,7 +4387,7 @@ expected-stdout:
name: utf8opt-2a name: utf8opt-2a
description: description:
Check that the utf8-hack flag is set at interactive startup Check that the utf8-hack flag is set at interactive startup
category: pdksh,os:solaris category: os:solaris
arguments: !-i! arguments: !-i!
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8! env-setup: !PS1=!PS2=!LC_CTYPE=en_US.UTF-8!
stdin: stdin:
@ -4407,7 +4404,7 @@ expected-stderr-pattern:
name: utf8opt-2b name: utf8opt-2b
description: description:
Check that the utf8-hack flag is set at interactive startup Check that the utf8-hack flag is set at interactive startup
category: pdksh,!os:solaris category: !os:solaris
arguments: !-i! arguments: !-i!
env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8! env-setup: !PS1=!PS2=!LC_CTYPE=en_US.utf8!
stdin: stdin:
@ -4424,7 +4421,6 @@ expected-stderr-pattern:
name: aliases-1 name: aliases-1
description: description:
Check if built-in shell aliases are okay Check if built-in shell aliases are okay
category: pdksh
stdin: stdin:
alias alias
typeset -f typeset -f
@ -4446,7 +4442,6 @@ expected-stdout:
name: aliases-2a name: aliases-2a
description: description:
Check if “set -o posix” disables built-in aliases (except a few) Check if “set -o posix” disables built-in aliases (except a few)
#category: pdksh
category: disabled category: disabled
arguments: !-o!posix! arguments: !-o!posix!
stdin: stdin:
@ -4459,7 +4454,6 @@ expected-stdout:
name: aliases-3a name: aliases-3a
description: description:
Check if running as sh disables built-in aliases (except a few) Check if running as sh disables built-in aliases (except a few)
#category: pdksh
category: disabled category: disabled
arguments: !-o!posix! arguments: !-o!posix!
stdin: stdin:
@ -4473,7 +4467,6 @@ expected-stdout:
name: aliases-2b name: aliases-2b
description: description:
Check if “set -o posix” does not influence built-in aliases Check if “set -o posix” does not influence built-in aliases
category: pdksh
arguments: !-o!posix! arguments: !-o!posix!
stdin: stdin:
alias alias
@ -4496,7 +4489,6 @@ expected-stdout:
name: aliases-3b name: aliases-3b
description: description:
Check if running as sh does not influence built-in aliases Check if running as sh does not influence built-in aliases
category: pdksh
arguments: !-o!posix! arguments: !-o!posix!
stdin: stdin:
cp "$__progname" sh cp "$__progname" sh