From 6b5b9248ef656dea20d1dbde8184de09a9230919 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 24 Mar 2006 15:26:23 +0000 Subject: add test for `rcs -Aoldfile'; not enabled yet. ray@ likes it. --- regress/usr.bin/rcs/Makefile | 10 ++++++++-- regress/usr.bin/rcs/rcs-Aflag.out | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 regress/usr.bin/rcs/rcs-Aflag.out (limited to 'regress/usr.bin/rcs') diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile index 2f502c11ee7..6cc91cf110b 100644 --- a/regress/usr.bin/rcs/Makefile +++ b/regress/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2006/03/24 05:14:48 ray Exp $ +# $OpenBSD: Makefile,v 1.11 2006/03/24 15:26:22 xsa Exp $ # Regression tests by Niall O'Higgins . # ksh -> Makefile by Ray Lai . @@ -10,7 +10,7 @@ RCSDIFF?= rcsdiff RCSMERGE?= rcsmerge RLOG?= rlog -CLEANFILES= RCS blah.c blah.c,v file file,v test test,v +CLEANFILES= RCS blah.c blah.c,v file file,v newfile newfile,v test test,v # XXX - These may need to be done in order. # (At least start with ci-initial.) @@ -247,6 +247,12 @@ test-rcs-eflag: test-rcs-aflag @${RCS} -q -efoo,bar,baz test @${RLOG} test | diff -u ${.CURDIR}/rcs-eflag.out - +# Testing 'rcs -Atest newfile' +test-rcs-Aflag: test-rcs-aflag + @echo "." | ${RCS} -q -i newfile + @${RCS} -q -Atest newfile + @${RLOG} newfile | diff -u ${.CURDIR}/rcs-Aflag.out - + clean: @rm -rf ${CLEANFILES} diff --git a/regress/usr.bin/rcs/rcs-Aflag.out b/regress/usr.bin/rcs/rcs-Aflag.out new file mode 100644 index 00000000000..fe83c82595f --- /dev/null +++ b/regress/usr.bin/rcs/rcs-Aflag.out @@ -0,0 +1,15 @@ + +RCS file: newfile,v +Working file: newfile +head: +branch: +locks: strict +access list: + foo + bar + baz +symbolic names: +keyword substitution: kv +total revisions: 0 +description: +============================================================================= -- cgit v1.2.3