From 33629eb0bb6dea797dde90aabeb4ae06208f6761 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 6 Jul 2017 19:40:19 +0000 Subject: 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(-) (limited to 'regress/bin') 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 -- cgit v1.2.3