aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-23 23:28:28 +0900
committerOphestra <cat@gensokyo.uk>2025-03-23 23:28:28 +0900
commit1eb837eab820e6a0365bddea93e0d1d91f957f8a (patch)
tree3b7c7d6c913443fea3a4a1821bffb46451b30a16
parent0a4e633db2d8d3a7aec19145d037d421ac64d132 (diff)
test/sandbox: warn about misuse in doc comment
Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--test/sandbox/assert.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sandbox/assert.go b/test/sandbox/assert.go
index 99ac9e8c..72b0f0de 100644
--- a/test/sandbox/assert.go
+++ b/test/sandbox/assert.go
@@ -1,3 +1,9 @@
+/*
+Package sandbox provides utilities for checking sandbox outcome.
+
+This package must never be used outside integration tests, there is a much better native implementation of mountinfo
+in the public sandbox/vfs package. Files in this package are excluded by the build system to prevent accidental misuse.
+*/
package sandbox
import (