summaryrefslogtreecommitdiff
path: root/regress/usr.bin/rcs/Makefile
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-05-05 01:30:00 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-05-05 01:30:00 +0000
commit33fade9e1ab2b17b91558c27d469d81de39591a4 (patch)
tree93b3ae1db4b3789af03122b36b67aa0a7f58e424 /regress/usr.bin/rcs/Makefile
parent279bf209f80fbecedcda6ea0adb0f03d4a65d2bc (diff)
o GNU ci returns 0 when a file is reverted (co -l file; ci file).
o Don't unlock file after revert. o Fix spelling. Passes extra tests in GNU rcstest. OK niallo@.
Diffstat (limited to 'regress/usr.bin/rcs/Makefile')
-rw-r--r--regress/usr.bin/rcs/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile
index 490d36b2553..e8c331fd782 100644
--- a/regress/usr.bin/rcs/Makefile
+++ b/regress/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.30 2006/05/05 01:11:37 ray Exp $
+# $OpenBSD: Makefile,v 1.31 2006/05/05 01:29:59 ray Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# ksh -> Makefile by Ray Lai <ray@cyth.net>.
@@ -64,6 +64,7 @@ LTESTS= ci-initial \
rcs-iflag \
rlog-lflag \
ci-nofile \
+ ci-revert \
#ci-keywords \
.for t in ${LTESTS}
@@ -545,6 +546,14 @@ test-rlog-zflag: clean
test-ci-nofile:
@${CI} -q nonexistent || case "$$?" in 1) exit 0;; esac && exit 1
+test-ci-revert: clean
+ @mkdir RCS
+ @touch file
+ @echo . | ${CI} -q -l file
+ @${CI} -q -mm -l file
+ @# Make sure reverting doesn't unlock file.
+ @${CI} -q -mm -l file
+
test-ci-keywords: clean
@mkdir RCS
@sed 's/.*/$$&$$/' ${.CURDIR}/keywords.in > file