fix running of all tests
This commit is contained in:
parent
820f4b1de1
commit
5b1a2fe3a9
4
Makefile
4
Makefile
@ -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
|
PROG= mksh
|
||||||
SRCS= alloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
|
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
|
regress: ${PROG} check.pl check.t
|
||||||
perl ${.CURDIR}/check.pl -s ${.CURDIR}/check.t ${V} \
|
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>
|
.include <bsd.prog.mk>
|
||||||
|
3
check.pl
3
check.pl
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/perl
|
#!/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 $
|
# $OpenBSD: th,v 1.11 2004/11/29 06:20:02 jsg Exp $
|
||||||
#-
|
#-
|
||||||
# Test harness for pdksh tests.
|
# Test harness for pdksh tests.
|
||||||
@ -620,6 +620,7 @@ category_check
|
|||||||
if ($c =~ /^!/) {
|
if ($c =~ /^!/) {
|
||||||
$c = $';
|
$c = $';
|
||||||
return 0 if (defined $categories{$c});
|
return 0 if (defined $categories{$c});
|
||||||
|
$ok = 1;
|
||||||
} else {
|
} else {
|
||||||
$ok = 1 if (defined $categories{$c});
|
$ok = 1 if (defined $categories{$c});
|
||||||
}
|
}
|
||||||
|
6
check.t
6
check.t
@ -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: 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 $
|
||||||
@ -1081,10 +1081,10 @@ expected-stdout:
|
|||||||
[a--]*
|
[a--]*
|
||||||
---
|
---
|
||||||
name: glob-range-3
|
name: glob-range-3
|
||||||
# breaks on Mac OSX (probably UTF-8 issue)
|
|
||||||
category: !os:darwin
|
|
||||||
description:
|
description:
|
||||||
Check that globbing matches the right things...
|
Check that globbing matches the right things...
|
||||||
|
# breaks on Mac OSX (probably UTF-8 issue)
|
||||||
|
category: !os:darwin
|
||||||
file-setup: file 644 "aÂc"
|
file-setup: file 644 "aÂc"
|
||||||
stdin:
|
stdin:
|
||||||
echo a[Á-Ú]*
|
echo a[Á-Ú]*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user