commit fa5296f92f579483986a322f8eb504821e37e3fd from: Stefan Sperling date: Tue Nov 26 10:48:42 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 - ed8952fbfc826deff0a58d4ecb77dc900924cc1e commit + fa5296f92f579483986a322f8eb504821e37e3fd 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