diff --git a/src/gopheros/kernel/goruntime/bootstrap_test.go b/src/gopheros/kernel/goruntime/bootstrap_test.go index cec83a7..37d1287 100644 --- a/src/gopheros/kernel/goruntime/bootstrap_test.go +++ b/src/gopheros/kernel/goruntime/bootstrap_test.go @@ -266,6 +266,7 @@ func TestInit(t *testing.T) { modulesInitFn = modulesInit typeLinksInitFn = typeLinksInit itabsInitFn = itabsInit + initGoPackagesFn = initGoPackages }() mallocInitFn = func() {} @@ -273,6 +274,7 @@ func TestInit(t *testing.T) { modulesInitFn = func() {} typeLinksInitFn = func() {} itabsInitFn = func() {} + initGoPackagesFn = func() {} if err := Init(); err != nil { t.Fatal(t)