summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-31 21:00:17 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-01-31 21:00:17 +0000
commitca42a7caf3650d0f6146ac4492f1f5e224b6f182 (patch)
tree8c4b3a1c143b85517200e1240c53e9bf76e920ca
parent0b6ece841b4adb0898e48d5e6f06f3d01240edd6 (diff)
opencvs (r)log work fine now, activated regress for them.
-rw-r--r--regress/usr.bin/cvs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/regress/usr.bin/cvs/Makefile b/regress/usr.bin/cvs/Makefile
index 59459c6bc8c..fb350e7df59 100644
--- a/regress/usr.bin/cvs/Makefile
+++ b/regress/usr.bin/cvs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2008/01/31 17:49:47 tobias Exp $
+# $OpenBSD: Makefile,v 1.14 2008/01/31 21:00:16 tobias Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org> and
# Tobias Stoeckmann <tobias@openbsd.org>.
@@ -39,17 +39,16 @@ LTESTS= cvs-initial \
cvs-diff \
cvs-remove-fflag \
cvs-status-vflag \
+ cvs-log \
+ cvs-rlog \
cvs-rtag-one_more_branch \
cvs-export
# Known to fail.
# cvs-checkout-dflag
-# cvs-rlog
# cvs-update-for_subdir
# Known to behave unconform to GNU cvs.
# cvs-annotate-rflag-unknown_symbol-fflag
# cvs-diff-file
-# cvs-log
-# cvs-rlog
.for t in ${LTESTS}
REGRESS_TARGETS+=test-${t}
@@ -208,13 +207,14 @@ test-cvs-initial: clean
@test -d ${.OBJDIR}/regress_cvs_root/CVSROOT
test-cvs-log:
- @cd ${.OBJDIR}/regress_cvs_wcopy/seed; ${CVS} -Q log
+ @cd ${.OBJDIR}/regress_cvs_wcopy/seed; \
+ eval 'test `${CVS} -Q log | wc -l` -eq 68'
test-cvs-remove-fflag:
@cd ${.OBJDIR}/regress_cvs_wcopy/seed; ${CVS} -Q remove -f seed1.txt
test-cvs-rlog:
- @${CVS} -Q -d ${MYCVSROOT} rlog seed
+ @eval 'test `${CVS} -Q -d ${MYCVSROOT} rlog seed | wc -l` -eq 65'
test-cvs-status:
@cd ${.OBJDIR}/regress_cvs_wcopy/seed; \