Move all atf directories to the tests mtree.
This is to ensure that test-related directories don't get needlessly created (and later deleted) when MK_TESTS=no. Problem found by jhb@. Approved by: rpaulo (mentor)
This commit is contained in:
parent
8496b1293a
commit
5efcd27a34
@ -509,7 +509,7 @@ _worldtmp:
|
||||
.endif
|
||||
.if ${MK_TESTS} != "no"
|
||||
mtree -deU -f ${.CURDIR}/etc/mtree/BSD.tests.dist \
|
||||
-p ${WORLDTMP}${TESTSBASE} >/dev/null
|
||||
-p ${WORLDTMP}/usr >/dev/null
|
||||
.endif
|
||||
.for _mtree in ${LOCAL_MTREE}
|
||||
mtree -deU -f ${.CURDIR}/${_mtree} -p ${WORLDTMP} > /dev/null
|
||||
|
@ -321,7 +321,7 @@ MTREES+= mtree/BSD.debug.dist /usr/lib
|
||||
MTREES+= mtree/BSD.groff.dist /usr
|
||||
.endif
|
||||
.if ${MK_TESTS} != "no"
|
||||
MTREES+= mtree/BSD.tests.dist ${TESTSBASE}
|
||||
MTREES+= mtree/BSD.tests.dist /usr
|
||||
.endif
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
MTREES+= mtree/BSD.sendmail.dist /
|
||||
|
@ -9,10 +9,6 @@
|
||||
..
|
||||
arpa
|
||||
..
|
||||
atf-c
|
||||
..
|
||||
atf-c++
|
||||
..
|
||||
bsm
|
||||
..
|
||||
bsnmp
|
||||
|
@ -5,27 +5,43 @@
|
||||
|
||||
/set type=dir uname=root gname=wheel mode=0755
|
||||
.
|
||||
lib
|
||||
atf
|
||||
libatf-c
|
||||
..
|
||||
libatf-c++
|
||||
..
|
||||
test-programs
|
||||
..
|
||||
include
|
||||
atf-c
|
||||
..
|
||||
libcrypt
|
||||
atf-c++
|
||||
..
|
||||
..
|
||||
libexec
|
||||
share
|
||||
atf
|
||||
atf-check
|
||||
..
|
||||
doc
|
||||
atf
|
||||
..
|
||||
..
|
||||
..
|
||||
usr.bin
|
||||
atf
|
||||
atf-sh
|
||||
tests
|
||||
lib
|
||||
atf
|
||||
libatf-c
|
||||
..
|
||||
libatf-c++
|
||||
..
|
||||
test-programs
|
||||
..
|
||||
..
|
||||
libcrypt
|
||||
..
|
||||
..
|
||||
libexec
|
||||
atf
|
||||
atf-check
|
||||
..
|
||||
..
|
||||
..
|
||||
usr.bin
|
||||
atf
|
||||
atf-sh
|
||||
..
|
||||
..
|
||||
..
|
||||
..
|
||||
|
@ -120,8 +120,6 @@
|
||||
sbin
|
||||
..
|
||||
share
|
||||
atf
|
||||
..
|
||||
bsdconfig
|
||||
media
|
||||
..
|
||||
@ -165,8 +163,6 @@
|
||||
doc
|
||||
IPv6
|
||||
..
|
||||
atf
|
||||
..
|
||||
atm
|
||||
..
|
||||
legal
|
||||
@ -1443,6 +1439,4 @@
|
||||
..
|
||||
src nochange
|
||||
..
|
||||
tests
|
||||
..
|
||||
..
|
||||
|
Loading…
Reference in New Issue
Block a user