github.com/adamar/terraform@v0.2.2-0.20141016210445-2e703afdad0e/plugin/resource_provisioner_test.go (about)

     1  package plugin
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func TestResourceProvisioner(t *testing.T) {
     8  	c := NewClient(&ClientConfig{Cmd: helperProcess("resource-provisioner")})
     9  	defer c.Kill()
    10  
    11  	_, err := c.Client()
    12  	if err != nil {
    13  		t.Fatalf("should not have error: %s", err)
    14  	}
    15  }