summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2008-02-14 22:32:49 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2008-02-14 22:32:49 +0000
commitb520fce2d26e5bbb74185269b99ee7fc0a717c9a (patch)
tree77cbd7e155d60d9e8f950b8847cb9425692b73d8 /regress
parentc1f1e061e8544a6593d7c2072a49c134ce156fac (diff)
Add `cvs release -d' test but commented out. OK tobiasregress@.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/cvs/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/usr.bin/cvs/Makefile b/regress/usr.bin/cvs/Makefile
index 9daff09f651..647b9058a71 100644
--- a/regress/usr.bin/cvs/Makefile
+++ b/regress/usr.bin/cvs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.21 2008/02/10 11:42:28 xsa Exp $
+# $OpenBSD: Makefile,v 1.22 2008/02/14 22:32:48 xsa Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org> and
# Tobias Stoeckmann <tobias@openbsd.org>.
@@ -55,6 +55,7 @@ LTESTS= cvs-initial \
cvs-export
# Known to fail.
# cvs-update-for_subdir
+# cvs-release-dflag
.for t in ${LTESTS}
REGRESS_TARGETS+=test-${t}
@@ -242,6 +243,12 @@ test-cvs-log:
@cd ${.OBJDIR}/regress_cvs_wcopy/seed; \
eval 'test `${CVS} -Q log | wc -l` -eq 68'
+test-cvs-release-dflag: test-cvs-checkout
+ @cd ${.OBJDIR}/regress_cvs_wcopy; \
+ ${CVS} -Q -d ${MYCVSROOT} release -d seed
+ @test ! -d ${.OBJDIR}/regress_cvs_wcopy/seed
+ @eval 'test `grep '^F' ${.OBJDIR}/regress_cvs_root/CVSROOT/history | wc -l` -eq 1'
+
test-cvs-remove-fflag:
@cd ${.OBJDIR}/regress_cvs_wcopy/seed; ${CVS} -Q remove -f seed1.txt