Skip to content

Generalize rootful test execution via internal/roottest discovery - #507

Merged
Dmitry Berkovich (dberkov) merged 1 commit into
agent-substrate:mainfrom
HavenXia:501-fix
Jul 24, 2026
Merged

Dmitry Berkovich (dberkov) merged 1 commit into
agent-substrate:mainfrom
HavenXia:501-fix

Conversation

@HavenXia

@HavenXia Haven Xia (HavenXia) commented Jul 23, 2026 •

Copy link
Copy Markdown
Member

Fix #501

Tests that need root (overlay mounts, mknod, trusted.* xattrs, ...) call roottest.Require(t, ...) from internal/roottest as their first statement. They skip in a plain go test ./...; CI reruns every package whose tests import that package under sudo.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

@dberkov
Dmitry Berkovich (dberkov) merged commit 5f6f14c into agent-substrate:main Jul 24, 2026
11 checks passed
@HavenXia
Haven Xia (HavenXia) deleted the 501-fix branch October 28, 2026 16:26
@HavenXia
Haven Xia (HavenXia) restored the 501-fix branch October 28, 2026 16:27
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.

CI: generalize rootful (integration) test execution beyond the imagecache one-off

2 participants