diff --git a/Makefile b/Makefile index 1567380..a9a879a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $MirBSD: src/bin/ksh/Makefile,v 2.1 2004/12/10 18:09:40 tg Exp $ +# $MirBSD: src/bin/ksh/Makefile,v 2.2 2004/12/13 16:50:50 tg Exp $ # $OpenBSD: Makefile,v 1.18 2004/02/16 19:07:19 deraadt Exp $ PROG= ksh @@ -26,8 +26,8 @@ siglist.out: config.h sh.h siglist.in siglist.sh emacs.out: emacs.c ${SHELL} ${.CURDIR}/emacs-gen.sh ${.CURDIR}/emacs.c >emacs.out -check test: - ${SHELL} ${.CURDIR}/tests/th.sh ${.CURDIR}/tests/th \ - -s ${.CURDIR}/tests -p ./ksh -C pdksh,sh,ksh,posix,posix-upu +check: + /usr/bin/perl ${.CURDIR}/tests/th -s ${.CURDIR}/tests \ + -p ./ksh -C pdksh,sh,ksh,posix,posix-upu .include diff --git a/tests/README b/tests/README deleted file mode 100644 index 894aba7..0000000 --- a/tests/README +++ /dev/null @@ -1,22 +0,0 @@ -Tests can be assigned categories to restrict what program they -are applied to (eg, pdksh, ksh88, etc.). The following are -a list of names to be used for various shells (to keep things -consistent): - - sh generic any v7 bourne shell like thing - sh-v generic any system V bourne shell like thing - ksh generic any ksh - posix generic basic posix shell - posix-upu generic 'user portability utility' options - sh-v7 specific the real v7 bourne shell - sh-sysv specific the real sysv bourne shell - pdksh specific public domain ksh - ksh88 specific at&t ksh88 - ksh93 specific at&t ksh93 - bash specific GNU bourne-again shell - -The idea is to categorize all the tests according to the 'best match' -(most generic thing). All generics that apply should be specified. -Generally, at most one specific shell will be given. - -At the moment, most (all) tests have not been categorized (any volunteers?). diff --git a/tests/th.sh b/tests/th.sh deleted file mode 100644 index da723cf..0000000 --- a/tests/th.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -# $MirBSD: src/bin/ksh/tests/th.sh,v 2.1 2004/12/10 18:09:45 tg Exp $ -# $OpenBSD: th.sh,v 1.4 2001/01/28 23:04:57 niklas Exp $ -# -# Simple script to find perl and run it -# - -# Avoid common problems with ENV (though perl shouldn't let it through) -# (can you believe some shells don't have an unset???) -unset ENV - -x=x -[ -x /bin/sh ] 2> /dev/null || x=f - -IFS=:$IFS -perl= -for i in $PATH; do - [ X"$i" = X ] && i=. - for j in perl perl4 perl5 ; do - [ -$x "$i/$j" ] && perl=$i/$j && break 2 - done -done - -[ X"$perl" = X ] && { - echo "$0: can't find perl - bye\n" 1>&2 - exit 1 - } - -exec $perl "$@"