Skip to content

test: make service-dependent tests portable#14

Merged
taigrr merged 4 commits into
masterfrom
cd/portable-system-service-tests
Jul 8, 2026
Merged

test: make service-dependent tests portable#14
taigrr merged 4 commits into
masterfrom
cd/portable-system-service-tests

Conversation

@taigrr

@taigrr taigrr commented Jun 4, 2026

Copy link
Copy Markdown
Owner

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 ./...

@taigrr taigrr force-pushed the cd/portable-system-service-tests branch from f763eeb to 9bdd65f Compare July 7, 2026 09:49
@taigrr taigrr merged commit 1b41926 into master Jul 8, 2026
3 checks passed
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