freebsd-dev/tools/regression/geom/Makefile
Poul-Henning Kamp 31304807c1 Add the GEOM regression test framework.
This is a set of userland shims in which GEOM can be run through simple
tests.

The simulation of kernel synchronization primitives is very primitive
and consequently some times tests will fail because of races.

Data/ contains a number of files in XML format which describe the
key sectors for a number of disk images

This is a very handy tool for people developing GEOM methods.  The
"simdisk" method can be told to read from a "real disk" and afterwards
dump the accessed sectors in XML format for further use.

I hope future method writes will see the benefit of this test
collection and add to it when they write methods for GEOM.

You will need ports/textproc/expat for the XML parser.

Sponsored by:   DARPA, NAI Labs.
2002-03-17 18:53:58 +00:00

19 lines
353 B
Makefile

# $FreeBSD$
SUBDIR+= ConfCmp GLib Test
.include <bsd.subdir.mk>
test: all _SUBDIRUSE
toflat:
scp *.c *.h *.sh Makefile root@flat:/sys/geom
fromflat:
scp root@flat:/sys/geom/\* .
publish:
$(MAKE) cleandir
tar --exclude CVS -czf - . | \
ssh phk@phk "cd www/geom && cat > geom.tgz && rm -rf src && mkdir -p src && cd src && tar xzf ../geom.tgz"