1
0

refactor: rand.Seed not required anymore

This commit is contained in:
2024-02-20 12:28:27 +00:00
parent 9b69738163
commit 48e5e8cd04
3 changed files with 0 additions and 10 deletions

View File

@@ -15,10 +15,6 @@ import (
"time"
)
func init() {
rand.Seed(time.Now().UnixNano())
}
func TestSystemNew_InvalidKernelPath(t *testing.T) {
kernel := Kernel{Name: "Invalid", KernelPath: "/invalid/path"}
if _, err := NewSystem(X86x64, kernel, "/bin/sh"); err == nil {