github.com/jstaf/onedriver@v0.14.2-0.20240420231225-f07678f9e6ef/ui/systemd/setup_test.go (about)

     1  package systemd
     2  
     3  import (
     4  	"os"
     5  	"testing"
     6  )
     7  
     8  func TestMain(m *testing.M) {
     9  	os.Chdir("../..")
    10  	os.Mkdir("mount", 0700)
    11  	os.Exit(m.Run())
    12  }