commit 73416c724ee84bc1b4152944af4ddf376dd77621 from: Stefan Sperling via: Thomas Adam date: Wed Nov 27 20:56:51 2024 UTC check for root privs in the main regress target Otherwise we would build some things and then get stuck in su(1). commit - ad9226868f59ae796d2ed191fd26b1841e24a4e8 commit + 73416c724ee84bc1b4152944af4ddf376dd77621 blob - 0c0e27da25fcaf927e8dd93f7ff99e5dd8a77b6c blob + f01afd24758ad2f44bbf835faf6a7fb6c14a593b --- regress/gotwebd/Makefile +++ regress/gotwebd/Makefile @@ -80,7 +80,7 @@ start_gotwebd: prepare_test_repo gotwebd_test @${GOTWEBD_TRAP}; ${GOTWEBD_START_CMD} @${GOTWEBD_TRAP}; sleep .5 -test_gotwebd: start_gotwebd +test_gotwebd: ensure_root start_gotwebd @-$(GOTWEBD_TRAP); su -m ${GOTWEBD_TEST_USER} -c \ 'env $(GOTWEBD_TEST_ENV) sh ${.CURDIR}/test_gotwebd.sh' @${GOTWEBD_STOP_CMD} 2>/dev/null