Commit ab9f0bc3 authored by Peter Sankauskas's avatar Peter Sankauskas

Removing my debugging output

parent e878495f
package chroot
import (
"fmt"
"testing"
"github.com/kr/pretty"
"github.com/mitchellh/goamz/ec2"
// awscommon "github.com/mitchellh/packer/builder/amazon/common"
)
func testImage() ec2.Image {
......@@ -30,9 +26,6 @@ func TestStepRegisterAmi_buildRegisterOpts_pv(t *testing.T) {
opts := buildRegisterOpts(&config, &image, blockDevices)
fmt.Println("******** PAS ********")
fmt.Printf("%# v", pretty.Formatter(opts))
expected := config.AMIVirtType
if opts.VirtType != expected {
t.Fatalf("Unexpected VirtType value: expected %s got %s\n", expected, opts.VirtType)
......@@ -62,9 +55,6 @@ func TestStepRegisterAmi_buildRegisterOpts_hvm(t *testing.T) {
opts := buildRegisterOpts(&config, &image, blockDevices)
fmt.Println("******** PAS ********")
fmt.Printf("%# v", pretty.Formatter(opts))
expected := config.AMIVirtType
if opts.VirtType != expected {
t.Fatalf("Unexpected VirtType value: expected %s got %s\n", expected, opts.VirtType)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment