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