1 # $NetBSD: Makefile,v 1.3 2003/02/03 07:45:05 perseant Exp $
5 TMPMP
= /tmp
/lfsregresstest_mount
6 TMPIM
= /var
/tmp
/lfsregresstest.im
11 .if
(${MACHINE_ARCH} == "i386")
21 regress
: test_mkfs_mount .WAIT test_smallfiles .WAIT test_rename_hardlink .WAIT
${CLEAN}
24 # Basic regression tests for LFS.
28 @echo
"*** Basic small files test"
30 ${MAKE} TMPMP
=${TMPMP} VND
=${VND} MPART
=${MPART} fsck
32 # rename(a, b) where a is a hard-link to b.
34 @echo
"*** Hard link rename"
35 cd
${TMPMP} && : > foo
&& ln foo bar
&& mv foo bar
38 ${MAKE} TMPMP
=${TMPMP} VND
=${VND} MPART
=${MPART} fsck
40 # Trivial newfs & fsck test
42 VND
=${VND} TMPMP
=${TMPMP} TMPIM
=${TMPIM} SRCDIR
=${SRCDIR} MPART
=${MPART} RPART
=${RPART} .
/mkfs_mount
49 fsck_lfs
-f
-n
${CVND}${MPART}
50 mount
${BVND}${MPART} ${TMPMP}
55 vnconfig
-u
${BVND}${RPART}
59 .
include <bsd.prog.mk
>