diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-25 01:42:55 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-25 01:42:55 +0000 |
commit | b8999124b3a6d78cfba709b065edb23c93d9ff98 (patch) | |
tree | ae4a4091c54dbd3413a3fbfdfd1935f19bf70780 /regress/usr.bin/rcs | |
parent | 55b2c0f78df99c41f96b2318a41095bcdef02510 (diff) |
Regression tests for keywords for ci.
OK xsa@
Diffstat (limited to 'regress/usr.bin/rcs')
-rw-r--r-- | regress/usr.bin/rcs/Makefile | 10 | ||||
-rw-r--r-- | regress/usr.bin/rcs/keywords.in | 15 | ||||
-rw-r--r-- | regress/usr.bin/rcs/keywords.out | 18 |
3 files changed, 42 insertions, 1 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile index 27be9b4bf73..601522e19f8 100644 --- a/regress/usr.bin/rcs/Makefile +++ b/regress/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.22 2006/04/20 17:17:22 xsa Exp $ +# $OpenBSD: Makefile,v 1.23 2006/04/25 01:42:54 ray Exp $ # Regression tests by Niall O'Higgins <niallo@openbsd.org>. # ksh -> Makefile by Ray Lai <ray@cyth.net>. @@ -503,6 +503,14 @@ test-rlog-rflag: clean test-ci-nofile: @${CI} -q nonexistent || case "$$?" in 1) exit 0;; esac && exit 1 +test-ci-keywords: clean + @mkdir RCS + @cp ${.CURDIR}/keywords.in file + @echo . | ${CI} -q -u file + @sed -e 's,${USER},USER,' -e "s/\($$[A-Z][a-z]*: \).*file,v/\1file,v/" \ + -e 's,[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9],YYYY/MM/DD HH:MI:SS,' \ + file | diff -u ${.CURDIR}/keywords.out - + clean: @rm -rf ${CLEANFILES} diff --git a/regress/usr.bin/rcs/keywords.in b/regress/usr.bin/rcs/keywords.in new file mode 100644 index 00000000000..4f2eacdc034 --- /dev/null +++ b/regress/usr.bin/rcs/keywords.in @@ -0,0 +1,15 @@ +$Author: ray $ +$Date: 2006/04/25 01:42:54 $ +$Header: /cvs/OpenBSD/src/regress/usr.bin/rcs/keywords.in,v 1.1 2006/04/25 01:42:54 ray Exp $ +$Id: keywords.in,v 1.1 2006/04/25 01:42:54 ray Exp $ +$Log: keywords.in,v $ +Revision 1.1 2006/04/25 01:42:54 ray +Regression tests for keywords for ci. + +OK xsa@ + +$Name: $ +$RCSfile: keywords.in,v $ +$Revision: 1.1 $ +$Source: /cvs/OpenBSD/src/regress/usr.bin/rcs/keywords.in,v $ +$State: Exp $ diff --git a/regress/usr.bin/rcs/keywords.out b/regress/usr.bin/rcs/keywords.out new file mode 100644 index 00000000000..0f42c69925d --- /dev/null +++ b/regress/usr.bin/rcs/keywords.out @@ -0,0 +1,18 @@ +$Author: ray $ +$Date: 2006/04/25 01:42:54 $ +$Header: /cvs/OpenBSD/src/regress/usr.bin/rcs/keywords.out,v 1.1 2006/04/25 01:42:54 ray Exp $ +$Id: keywords.out,v 1.1 2006/04/25 01:42:54 ray Exp $ +$Log: keywords.out,v $ +Revision 1.1 2006/04/25 01:42:54 ray +Regression tests for keywords for ci. + +OK xsa@ + +Revision 1.1 YYYY/MM/DD HH:MI:SS USER +Initial revision + +$Name: $ +$RCSfile: keywords.out,v $ +$Revision: 1.1 $ +$Source: /cvs/OpenBSD/src/regress/usr.bin/rcs/keywords.out,v $ +$State: Exp $ |