diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2007-06-06 06:21:48 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2007-06-06 06:21:48 +0000 |
commit | 82332b1b569c2005b3aba1463ec34eb5ca4b1c75 (patch) | |
tree | 0371189556fbea25966f2c529d5e684322b79e2d /regress | |
parent | 9fa671c5f5656b4f435e43e7af959aa0f08d76c8 (diff) |
work around import limitations
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/cvs/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/regress/usr.bin/cvs/Makefile b/regress/usr.bin/cvs/Makefile index 7d7622bb0fc..57ef5d21629 100644 --- a/regress/usr.bin/cvs/Makefile +++ b/regress/usr.bin/cvs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2007/06/05 08:04:24 xsa Exp $ +# $OpenBSD: Makefile,v 1.3 2007/06/06 06:21:47 niallo Exp $ # Regression tests by Niall O'Higgins <niallo@openbsd.org>. # Based on OpenRCS regression framework. @@ -6,7 +6,7 @@ CVS?= opencvs DIFF= diff -u -CLEANFILES= regress_cvs_root regress_cvs_wcopy +CLEANFILES= regress_cvs_root regress_cvs_wcopy importdir # XXX - These may need to be done in order. @@ -23,7 +23,9 @@ test-cvs-initial: clean @${CVS} -d ${.OBJDIR}/regress_cvs_root init test-cvs-import: - @cd ${.CURDIR}/import_seed; ${CVS} -Q \ + @mkdir -p ${.OBJDIR}/importdir + @cp -f ${.CURDIR}/import_seed/seed* ${.OBJDIR}/importdir + @cd ${.OBJDIR}/importdir; ${CVS} -Q \ -d ${.OBJDIR}/regress_cvs_root import \ -m'import seed repo' seed regress regress_`date +%Y%m%d` |