Make the regression test run also with obj directories.
This commit is contained in:
parent
ae360dddc7
commit
2925fa2283
@ -31,6 +31,6 @@ template.c: template.txt
|
||||
< ${.CURDIR}/template.txt > template.c
|
||||
|
||||
test: ${PROG}
|
||||
sh ${.CURDIR}/test.sh
|
||||
sh ${.CURDIR}/test.sh ${.CURDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -42,7 +42,11 @@ if ./gbde nuke $D -p foo4 -l /tmp/_l4 -n -1 ; then false ; fi
|
||||
mdconfig -d -u $MD
|
||||
|
||||
mdconfig -a -t malloc -s 1m -u $MD
|
||||
if [ -f image.uu ] ; then
|
||||
uudecode -p image.uu | bzcat > $D
|
||||
else
|
||||
uudecode -p ${1}/image.uu | bzcat > $D
|
||||
fi
|
||||
gbde attach $D -p foo
|
||||
fsck_ffs ${D}.bde
|
||||
gbde detach $D
|
||||
|
Loading…
Reference in New Issue
Block a user