mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Activate CVS regression test.
This commit is contained in:
parent
7c9f6f8f8b
commit
77b1218492
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34932
@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.20 1998/01/26 04:21:52 peter Exp $
|
# $Id: Makefile,v 1.21 1998/03/10 14:00:59 peter Exp $
|
||||||
|
|
||||||
.include "${.CURDIR}/../Makefile.inc"
|
.include "${.CURDIR}/../Makefile.inc"
|
||||||
|
|
||||||
@ -36,4 +36,25 @@ DISTRIBUTION= krb
|
|||||||
CFLAGS+= -DENCRYPTION
|
CFLAGS+= -DENCRYPTION
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Regression test support
|
||||||
|
#
|
||||||
|
CLEANDIRS+=cvs-sanity
|
||||||
|
USERID!=id -u
|
||||||
|
regress:
|
||||||
|
mkdir -p ${.OBJDIR}/cvs-sanity/tmp ${.OBJDIR}/cvs-sanity/work
|
||||||
|
.if ${USERID} == "0"
|
||||||
|
chown -R nobody ${.OBJDIR}/cvs-sanity
|
||||||
|
(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
|
||||||
|
export TESTDIR;\
|
||||||
|
cd ${.OBJDIR}/cvs-sanity/work;\
|
||||||
|
su -m nobody -c "sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs")
|
||||||
|
.else
|
||||||
|
(TESTDIR=`sh -c 'cd ${.OBJDIR}/cvs-sanity/tmp && /bin/pwd'`;\
|
||||||
|
export TESTDIR;\
|
||||||
|
cd ${.OBJDIR}/cvs-sanity/work;\
|
||||||
|
sh ${CVSDIR}/src/sanity.sh ${.OBJDIR}/cvs)
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user