add regression tests for stuff recently fixed.
This commit is contained in:
parent
9ac082db6c
commit
dab49f36c7
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.15 2008/02/08 20:04:50 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2008/12/21 00:24:06 christos Exp $
|
||||
|
||||
# missing: libexec sbin usr.sbin share
|
||||
SUBDIR+= gnu include lib libexec sys usr.bin
|
||||
SUBDIR+= bin gnu include lib libexec sys usr.bin
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# $NetBSD: Makefile,v 1.10 2008/12/21 00:24:07 christos Exp $
|
||||
|
||||
SUBDIR+= sh
|
||||
|
||||
.include <bsd.subdir.mk>
|
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD: Makefile,v 1.13 2008/12/21 00:24:07 christos Exp $
|
||||
|
||||
.include <bsd.sys.mk>
|
||||
TESTS != echo [a-z]*
|
||||
|
||||
regress:
|
||||
. for i in ${TESTS}
|
||||
${.CURDIR}/$i
|
||||
. endfor
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
line='/foo/bar/*/baz'
|
||||
if [ "/foo/bar/" != ${line%%\**}"" ]
|
||||
then
|
||||
echo broken
|
||||
exit 1
|
||||
fi
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
sleep 3 &
|
||||
sleep 1 &
|
||||
|
||||
wait %1
|
||||
[ $? = 0 ] || echo fail1
|
||||
wait %2
|
||||
[ $? = 0 ] || echo fail2
|
Loading…
Reference in New Issue