test: move package sandbox internal
All checks were successful
Test / Create distribution (push) Successful in 33s
Test / Hakurei (push) Successful in 43s
Test / Hpkg (push) Successful in 40s
Test / Hakurei (race detector) (push) Successful in 43s
Test / Sandbox (push) Successful in 1m56s
Test / Sandbox (race detector) (push) Successful in 2m39s
Test / Flake checks (push) Successful in 1m24s

This should never be used outside vm tests.

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

View File

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

View File

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

View File

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

View File

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