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
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:
parent
17ffdb2dcf
commit
b5630f6883
@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"testing/fstest"
|
||||
|
||||
"hakurei.app/test/sandbox"
|
||||
"hakurei.app/test/internal/sandbox"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -7,7 +7,7 @@ import (
|
||||
"path"
|
||||
"testing"
|
||||
|
||||
"hakurei.app/test/sandbox"
|
||||
"hakurei.app/test/internal/sandbox"
|
||||
)
|
||||
|
||||
func TestMountinfo(t *testing.T) {
|
||||
@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
"syscall"
|
||||
|
||||
"hakurei.app/test/sandbox"
|
||||
"hakurei.app/test/internal/sandbox"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@ -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 = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user