From 751bff3612158dc73d18d86298bc40e923e5b7cc Mon Sep 17 00:00:00 2001 From: anton Date: Fri, 11 Nov 2022 13:59:02 +0000 Subject: [PATCH] cvs(1) populates the author keyword using getlogin(2), therefore favor logname(1) when normalizing the output. --- regress/usr.bin/cvs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1