diff options
-rw-r--r-- | regress/usr.bin/rcs/Makefile | 14 | ||||
-rw-r--r-- | regress/usr.bin/rcs/rcs-aflag.out | 15 | ||||
-rw-r--r-- | regress/usr.bin/rcs/rcs-eflag.out | 12 |
3 files changed, 40 insertions, 1 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile index 290b078aee5..b856716b3de 100644 --- a/regress/usr.bin/rcs/Makefile +++ b/regress/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2006/03/17 14:06:00 xsa Exp $ +# $OpenBSD: Makefile,v 1.8 2006/03/21 08:32:10 xsa Exp $ # Regression tests by Niall O'Higgins <niallo@openbsd.org>. # ksh -> Makefile by Ray Lai <ray@cyth.net>. @@ -8,6 +8,7 @@ CO?= co RCS?= rcs RCSDIFF?= rcsdiff RCSMERGE?= rcsmerge +RLOG?= rlog CLEANFILES= blah.c blah.c,v test test,v RCS @@ -236,6 +237,17 @@ test-comma: @test -e RCS/file,notext,v @test ! -e RCS/file,v +# Testing 'rcs -afoo,bar,baz' +test-rcs-aflag: clean + @echo "." | ${RCS} -q -i test + @${RCS} -q -afoo,bar,baz test + @${RLOG} test | diff -u ${.CURDIR}/rcs-aflag.out - + +# Testing 'rcs -efoo,bar,baz' +test-rcs-eflag: test-rcs-aflag + @${RCS} -q -efoo,bar,baz test + @${RLOG} test | diff -u ${.CURDIR}/rcs-eflag.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..74fb3600399 --- /dev/null +++ b/regress/usr.bin/rcs/rcs-aflag.out @@ -0,0 +1,15 @@ + +RCS file: test,v +Working file: test +head: +branch: +locks: strict +access list: + foo + bar + baz +symbolic names: +keyword substitution: kv +total revisions: 0 +description: +============================================================================= diff --git a/regress/usr.bin/rcs/rcs-eflag.out b/regress/usr.bin/rcs/rcs-eflag.out new file mode 100644 index 00000000000..9bf34f41036 --- /dev/null +++ b/regress/usr.bin/rcs/rcs-eflag.out @@ -0,0 +1,12 @@ + +RCS file: test,v +Working file: test +head: +branch: +locks: strict +access list: +symbolic names: +keyword substitution: kv +total revisions: 0 +description: +============================================================================= |