diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-06 20:55:03 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-06 20:55:03 +0000 |
commit | 2b3b7783f542b81fc1aa997a0cb449e3d5eef013 (patch) | |
tree | 61c74b00b58861ea80848cb7878f4ae9548d697e /regress/etc | |
parent | eac47fcc2115bde7d658200fdd1849b77ece2b6e (diff) |
add MAKEDEV regress
Diffstat (limited to 'regress/etc')
-rw-r--r-- | regress/etc/MAKEDEV/Makefile | 32 | ||||
-rw-r--r-- | regress/etc/Makefile | 9 |
2 files changed, 41 insertions, 0 deletions
diff --git a/regress/etc/MAKEDEV/Makefile b/regress/etc/MAKEDEV/Makefile new file mode 100644 index 00000000000..1ec1ba340a6 --- /dev/null +++ b/regress/etc/MAKEDEV/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1 2001/09/06 20:55:02 todd Exp $ + +NOMAN= +NOPROG= + +regress: t1 + +MAKEDEVARCHS+=alpha amiga hp300 hppa i386 mac68k macppc mvme68k mvme88k +MAKEDEVARCHS+=mvmeppc sparc sparc64 sun3 vax + +ETCSRCDIR?= /usr/src/etc + +t1: ${MAKEDEVARCHS} + +${MAKEDEVARCHS}: + @echo "====> ${.TARGET}" + @exec ${SUDO} rm -rf test.${.TARGET} + @exec mkdir -p test.${.TARGET} + @exec cp ${ETCSRCDIR}/etc.${.TARGET}/MAKEDEV test.${.TARGET} + @exec ${SUDO} chown root.wheel test.${.TARGET} + @cd test.${.TARGET}; time ${SUDO} sh ./MAKEDEV all || true; \ + ( ls -l; ls -l fd/ ) | \ + awk '/^[lbcps]/ {print $$1,$$2,$$3,$$4,$$5,$$6,$$10}' |\ + sort +5 -n > ../t1.${.TARGET}.out + +clean: + for f in ${MAKEDEVARCHS}; do ${SUDO} rm -rf test.$$f; done + +.PHONY: t1 t2 t3 t4 t5 t6 t7 regress ${MAKEDEVARCHS} +CLEANFILES+=t1.*.out + +.include <bsd.prog.mk> diff --git a/regress/etc/Makefile b/regress/etc/Makefile new file mode 100644 index 00000000000..ce098addf05 --- /dev/null +++ b/regress/etc/Makefile @@ -0,0 +1,9 @@ +# $OpenBSD: Makefile,v 1.1 2001/09/06 20:55:02 todd Exp $ + +SUBDIR+= MAKEDEV + +regress: _SUBDIRUSE + +install: + +.include <bsd.subdir.mk> |