Skip to content

test: make service-dependent tests portable#14

Open
taigrr wants to merge 1 commit into
masterfrom
cd/portable-system-service-tests
Open

test: make service-dependent tests portable#14
taigrr wants to merge 1 commit into
masterfrom
cd/portable-system-service-tests

Conversation

@taigrr
Copy link
Copy Markdown
Owner

@taigrr taigrr commented Jun 4, 2026

Summary

  • choose a readable active system service at runtime for read-only test coverage instead of assuming nginx exists
  • reuse that helper in status/show/start-time/restart-count/memory tests
  • skip non-root lifecycle tests that need a controllable user service when no portable choice is guaranteed

Testing

  • go test -race ./...
  • staticcheck ./...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant