diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2006-04-12 22:54:24 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2006-04-12 22:54:24 +0000 |
commit | d3a8754b7435212fe476701cb5846734ab6d7e8d (patch) | |
tree | ef01ff8e3e9a1b8c36ee8c5b12120818cf779a3b /regress/usr.bin/rcs/Makefile | |
parent | 5eb04e5d931bdd4946ed2f1dc1f68dfdbb69d323 (diff) |
Better match GNU behavior for rcs -l and rcs -u.
Save 2 bytes of newlines.
OK joris@
Diffstat (limited to 'regress/usr.bin/rcs/Makefile')
-rw-r--r-- | regress/usr.bin/rcs/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/rcs/Makefile b/regress/usr.bin/rcs/Makefile index a14590917f2..1892729b412 100644 --- a/regress/usr.bin/rcs/Makefile +++ b/regress/usr.bin/rcs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.15 2006/04/01 06:19:29 ray Exp $ +# $OpenBSD: Makefile,v 1.16 2006/04/12 22:54:23 ray Exp $ # Regression tests by Niall O'Higgins <niallo@openbsd.org>. # ksh -> Makefile by Ray Lai <ray@cyth.net>. @@ -314,9 +314,9 @@ test-rcs-lock-unlock: clean @${RLOG} file | fgrep -x -A 1 'locks: strict' | head -n 2 | fgrep -q 1.2 || \ case "$$?" in 1) exit 0;; esac && exit 1 - @${RCS} -q -u file || case "$$?" in 1) exit 0;; esac && exit 1 + @${RCS} -q -u file + @${RCS} -q -l file @${RCS} -q -l file - @${RCS} -q -l file || case "$$?" in 1) exit 0;; esac && exit 1 @${RCS} -q -l1.3 file || case "$$?" in 1) exit 0;; esac && exit 1 @${RCS} -q -u1.3 file || case "$$?" in 1) exit 0;; esac && exit 1 |