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