diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-06 19:40:19 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-06 19:40:19 +0000 |
commit | 33629eb0bb6dea797dde90aabeb4ae06208f6761 (patch) | |
tree | e8f5fbe3c61e8049651831d59001a8fe320f21c5 /regress/bin | |
parent | ea35b487c92cbf7e1f5e891232de5fa17b10ce85 (diff) |
anton@ has fixed the test script so that it can run as root. Remove
my workaround that switched to build user.
Diffstat (limited to 'regress/bin')
-rw-r--r-- | regress/bin/ksh/edit/Makefile | 10 |
1 files 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 <bsd.regress.mk> |