package main import ( "os" "testing" ) func TestMain(t *testing.T) { // args := []string{"-name", "fs_guest"} targerDir = "../" + targerDir genDir = "../" + genDir os.Args = []string{"cmd", "-name=fs_guest"} main() }