diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/cvs/Makefile | 35 | ||||
-rw-r--r-- | regress/usr.bin/cvs/import_seed/seed1.txt | 2 |
2 files changed, 37 insertions, 0 deletions
diff --git a/regress/usr.bin/cvs/Makefile b/regress/usr.bin/cvs/Makefile new file mode 100644 index 00000000000..b71063dd74e --- /dev/null +++ b/regress/usr.bin/cvs/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1 2007/06/05 05:49:41 niallo Exp $ + +# Regression tests by Niall O'Higgins <niallo@openbsd.org>. +# Based on OpenRCS regression framework. + +CVS?= opencvs +DIFF= diff -u + +CLEANFILES= regress_cvs_root regress_cvs_wcopy + + +# XXX - These may need to be done in order. +# (At least start with cvs-initial.) +LTESTS= cvs-initial \ + cvs-import \ + cvs-checkout-dflag + +.for t in ${LTESTS} +REGRESS_TARGETS+=test-${t} +.endfor + +test-cvs-initial: clean + @${CVS} -d ${.OBJDIR}/regress_cvs_root init + +test-cvs-import: + @cd ${.CURDIR}/import_seed; ${CVS} -Q -d ${.OBJDIR}/regress_cvs_root import -m'import seed repo' seed regress regress_`date +%Y%m%d` + +test-cvs-checkout-dflag: + @${CVS} -Q -d ${.OBJDIR}/regress_cvs_root co -d ${.OBJDIR}/regress_cvs_wcopy seed + @test -d ${.OBJDIR}/regress_cvs_wcopy + +clean: + @rm -rf ${CLEANFILES} + +.include <bsd.regress.mk> diff --git a/regress/usr.bin/cvs/import_seed/seed1.txt b/regress/usr.bin/cvs/import_seed/seed1.txt new file mode 100644 index 00000000000..60b0e476399 --- /dev/null +++ b/regress/usr.bin/cvs/import_seed/seed1.txt @@ -0,0 +1,2 @@ +$Id: seed1.txt,v 1.1 2007/06/05 05:49:41 niallo Exp $ +a test file for the seed repository |