From: anton Date: Fri, 11 Nov 2022 13:59:02 +0000 (+0000) Subject: cvs(1) populates the author keyword using getlogin(2), therefore favor X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=751bff3612158dc73d18d86298bc40e923e5b7cc;p=openbsd cvs(1) populates the author keyword using getlogin(2), therefore favor logname(1) when normalizing the output. --- diff --git a/regress/usr.bin/cvs/Makefile b/regress/usr.bin/cvs/Makefile index a02ca0298d7..e35d5a70013 100644 --- a/regress/usr.bin/cvs/Makefile +++ b/regress/usr.bin/cvs/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.32 2017/07/07 23:55:21 bluhm Exp $ +# $OpenBSD: Makefile,v 1.33 2022/11/11 13:59:02 anton Exp $ # Regression tests by Niall O'Higgins and # Tobias Stoeckmann . @@ -245,7 +245,7 @@ test-cvs-import-mflag: 2000.01.01.00.00.00 @perl ${.CURDIR}/setdate.pl ${REGRESS_ROOT}/seed/seed1.txt,v 1.1.1.1 \ 2000.01.01.00.00.00 - @sed "s/author `whoami`/author user/" \ + @sed "s/author `logname`/author user/" \ ${REGRESS_ROOT}/seed/seed1.txt,v | \ ${DIFF} - ${.CURDIR}/test_${TESTFILE}_import_01_seed1.txt,v