docker: add permission-denied socket test #645

Open
opened 2026-08-13 01:12:00 +00:00 by the.auditor · 0 comments
Owner

internal/docker/docker_test.go covers missing socket, non-socket, unreachable daemon, and OK paths, but the permission-denied path (ErrDockerPermissionDenied, WrapDockerPermissionDenied) has no test. Add one (e.g. a socket with mode 000, skipping when the test runs as root).

See PR #642.

`internal/docker/docker_test.go` covers missing socket, non-socket, unreachable daemon, and OK paths, but the permission-denied path (`ErrDockerPermissionDenied`, `WrapDockerPermissionDenied`) has no test. Add one (e.g. a socket with mode `000`, skipping when the test runs as root). See PR #642.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/thwap-pagesd#645
No description provided.