From a075e97e8d148996db73c0af58911eadfc0f1bfb Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Thu, 21 Mar 2024 16:23:26 -0700 Subject: [PATCH] fixup make test to pick up username even if $USER is unset --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fe275289..83fa22a8 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ fc: RUSTFLAGS="--cfg tokio_unstable -D warnings" cargo fc check --fail-fast test: build - KUMOMTA_RUN_UNIT_TESTS=1 ./target/debug/kumod --user $(USER) --policy assets/policy-extras/queue.lua + KUMOMTA_RUN_UNIT_TESTS=1 ./target/debug/kumod --user `id -un` --policy assets/policy-extras/queue.lua ./docs/update-openapi.sh cargo nextest run