diff --git a/builder/osc/chroot/builder_acc_test.go b/builder/osc/chroot/builder_acc_test.go new file mode 100644 index 000000000..0a65f74af --- /dev/null +++ b/builder/osc/chroot/builder_acc_test.go @@ -0,0 +1,30 @@ +package chroot + +import ( + "testing" + + builderT "github.com/hashicorp/packer/helper/builder/testing" +) + +func TestBuilderAcc_basic(t *testing.T) { + builderT.Test(t, builderT.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + Builder: &Builder{}, + Template: testBuilderAccBasic, + }) +} + +func testAccPreCheck(t *testing.T) { +} + +const testBuilderAccBasic = ` +{ + "builders": [{ + "type": "test", + "region": "eu-west-2", + "source_omi": "ami-46260446", + "omi_name": "packer-test {{timestamp}}", + "omi_virtualization_type": "hvm" + }] +} +`