Update prov test code

This commit is contained in:
Moss 2020-04-07 11:41:03 +02:00
parent 388997cd1c
commit eac5526a28
1 changed files with 1 additions and 4 deletions

View File

@ -463,10 +463,7 @@ of this code you wrote. Your test should be like:
```go ```go
func TestShellProvisioner(t *testing.T) { func TestShellProvisioner(t *testing.T) {
p := os.Getenv("ACC_TEST_PROVISIONERS") acc.TestProvisionersPreCheck("shell", t)
if p != "all" && !strings.Contains(p, "shell") {
t.Skip()
}
acc.TestProvisionersAgainstBuilders(new(ShellProvisionerAccTest), t) acc.TestProvisionersAgainstBuilders(new(ShellProvisionerAccTest), t)
} }
``` ```