summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-04-28 20:24:21 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-04-28 20:24:21 +0000
commit2346ecfcac45a40b67e56938d0cb1cf0d0c2cfc7 (patch)
tree3d4f92fb428de1722855b00608e8d67c22883f50
parent20e14b0f2f44fd0a828de86eda26dc40463eba1d (diff)
add another variant of `rlog -z' usage (still not enabled);
-rw-r--r--regress/usr.bin/rcs/Makefile4
-rw-r--r--regress/usr.bin/rcs/rlog-zflag5.out17
2 files changed, 19 insertions, 2 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index 352f0f81533..b4be896d346 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.26 2006/04/28 20:11:45 xsa Exp $
+# $OpenBSD: Makefile,v 1.27 2006/04/28 20:24:20 xsa Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -504,13 +504,13 @@ test-rlog-rflag: clean
test-rlog-zflag: clean
@touch file
- @echo "foo" > file
@echo "descr" | ${CI} -q -m"first rev" -d'2006-01-01 00:00:00+00' \
-wfoo file
@${RLOG} -zLT file | ${DIFF} ${.CURDIR}/rlog-zflag1.out -
@${RLOG} -z+03:14:23 file | ${DIFF} ${.CURDIR}/rlog-zflag2.out -
@${RLOG} -z+03:14 file | ${DIFF} ${.CURDIR}/rlog-zflag3.out -
@${RLOG} -z+0314 file | ${DIFF} ${.CURDIR}/rlog-zflag4.out -
+ @${RLOG} -z-03:14:23 file | ${DIFF} ${.CURDIR}/rlog-zflag5.out -
test-ci-nofile:
@${CI} -q nonexistent || case "$$?" in 1) exit 0;; esac && exit 1
diff --git a/regress/usr.bin/rcs/rlog-zflag5.out b/regress/usr.bin/rcs/rlog-zflag5.out
new file mode 100644
index 00000000000..a2b45ea5167
--- /dev/null
+++ b/regress/usr.bin/rcs/rlog-zflag5.out
@@ -0,0 +1,17 @@
+
+RCS file: file,v
+Working file: file
+head: 1.1
+branch:
+locks: strict
+access list:
+symbolic names:
+keyword substitution: kv
+total revisions: 1; selected revisions: 1
+description:
+descr
+----------------------------
+revision 1.1
+date: 2005-12-31 20:45:37-03:14:23; author: foo; state: Exp;
+first rev
+=============================================================================