From 9742d762785e953f2bb8cf2769d192179059db7e Mon Sep 17 00:00:00 2001 From: bluhm Date: Thu, 6 Jul 2017 19:40:18 +0000 Subject: [PATCH] anton@ has fixed the test script so that it can run as root. Remove my workaround that switched to build user. --- regress/bin/ksh/edit/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/regress/bin/ksh/edit/Makefile b/regress/bin/ksh/edit/Makefile index 3d823bef0c2..5d11ee08835 100644 --- a/regress/bin/ksh/edit/Makefile +++ b/regress/bin/ksh/edit/Makefile @@ -1,17 +1,15 @@ +# $OpenBSD: Makefile,v 1.3 2017/07/06 19:40:18 bluhm Exp $ + REGRESS_TARGETS= emacs vi PROG= edit -SRCS= edit.c CFLAGS+= -Wall LDADD+= -lutil -# Switch to build user if run as root. Prompt output $ or # affects test. -SU!!= if [ "$$USER" = root ]; then echo su build; else echo sh; fi - emacs: edit - ${SU} ${.CURDIR}/emacs.sh ${.CURDIR} + sh ${.CURDIR}/emacs.sh ${.CURDIR} vi: edit - ${SU} ${.CURDIR}/vi.sh ${.CURDIR} + sh ${.CURDIR}/vi.sh ${.CURDIR} .include -- 2.20.1