fix running of all tests

This commit is contained in:
tg 2005-05-23 14:48:21 +00:00
parent 820f4b1de1
commit 5b1a2fe3a9
3 changed files with 7 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/Makefile,v 1.2 2005/05/23 11:59:06 tg Exp $
# $MirOS: src/bin/mksh/Makefile,v 1.3 2005/05/23 14:48:21 tg Exp $
PROG= mksh
SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
@ -10,6 +10,6 @@ check:
regress: ${PROG} check.pl check.t
perl ${.CURDIR}/check.pl -s ${.CURDIR}/check.t ${V} \
-p ./${PROG} -C pdksh,sh,ksh,posix,posix-upu
-p ./${PROG} -C pdksh
.include <bsd.prog.mk>

View File

@ -1,5 +1,5 @@
#!/usr/bin/perl
# $MirOS: src/bin/mksh/check.pl,v 1.1 2005/05/23 03:06:05 tg Exp $
# $MirOS: src/bin/mksh/check.pl,v 1.2 2005/05/23 14:48:21 tg Exp $
# $OpenBSD: th,v 1.11 2004/11/29 06:20:02 jsg Exp $
#-
# Test harness for pdksh tests.
@ -620,6 +620,7 @@ category_check
if ($c =~ /^!/) {
$c = $';
return 0 if (defined $categories{$c});
$ok = 1;
} else {
$ok = 1 if (defined $categories{$c});
}

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/check.t,v 1.2 2005/05/23 14:07:40 tg Exp $
# $MirOS: src/bin/mksh/check.t,v 1.3 2005/05/23 14:48:21 tg 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: read.t,v 1.3 2003/03/10 03:48:16 david Exp $
@ -1081,10 +1081,10 @@ expected-stdout:
[a--]*
---
name: glob-range-3
# breaks on Mac OSX (probably UTF-8 issue)
category: !os:darwin
description:
Check that globbing matches the right things...
# breaks on Mac OSX (probably UTF-8 issue)
category: !os:darwin
file-setup: file 644 "aÂc"
stdin:
echo a[Á-Ú]*