Skip to content

Commit e42179f

Browse files
fix: run all cargo commands as user
1 parent a92975b commit e42179f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ run_tests() {
152152
# Run unit, basic acceptance tests, and ignored tests, only showing command
153153
# output if the test fails. If the lightwalletd environment variables are
154154
# set, we will also run those tests.
155-
cargo test --locked --release --workspace --features "${FEATURES}" \
155+
exec_as_user cargo test --locked --release --workspace --features "${FEATURES}" \
156156
-- --nocapture --include-ignored --skip check_no_git_refs_in_cargo_lock
157157

158158
elif [[ "${RUN_CHECK_NO_GIT_REFS}" -eq "1" ]]; then

0 commit comments

Comments
 (0)