test: move package sandbox internal

This should never be used outside vm tests.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-12 23:03:22 +09:00
parent 17ffdb2dcf
commit b5630f6883
10 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ import (
"testing"
"testing/fstest"
"hakurei.app/test/sandbox"
"hakurei.app/test/internal/sandbox"
)
var (

View File

@@ -7,7 +7,7 @@ import (
"path"
"testing"
"hakurei.app/test/sandbox"
"hakurei.app/test/internal/sandbox"
)
func TestMountinfo(t *testing.T) {

View File

@@ -12,7 +12,7 @@ import (
"strings"
"syscall"
"hakurei.app/test/sandbox"
"hakurei.app/test/internal/sandbox"
)
var (

View File

@@ -12,7 +12,7 @@ buildGoModule rec {
src = builtins.path {
name = "${pname}-src";
path = lib.cleanSource ../.;
path = lib.cleanSource ../../.;
filter = path: type: (type == "directory") || (type == "regular" && lib.hasSuffix ".go" path);
};
vendorHash = null;
@@ -23,7 +23,7 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config ];
preBuild = ''
go mod init hakurei.app/test/sandbox >& /dev/null
go mod init hakurei.app/test >& /dev/null
'';
postInstall = ''