mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 10:00:01 +08:00 
			
		
		
		
	 ee35ce86d0
			
		
	
	ee35ce86d0
	
	
	
		
			
			Rename all files to _test.go and rename the package to e2e_test. This makes the linter less strict about things like dot imports. Add some unused nolint directives to silence some warnings, these can be used to find untested options so someone could add tests for them. Fixes #14996 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			294 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package e2e_test
 | |
| 
 | |
| type stopMachine struct {
 | |
| 	/*
 | |
| 		No command line args other than a machine vm name (also not required)
 | |
| 	*/
 | |
| }
 | |
| 
 | |
| func (s stopMachine) buildCmd(m *machineTestBuilder) []string {
 | |
| 	cmd := []string{"machine", "stop"}
 | |
| 	if len(m.name) > 0 {
 | |
| 		cmd = append(cmd, m.name)
 | |
| 	}
 | |
| 	return cmd
 | |
| }
 |