Commit a492ca74 authored by John Bellone's avatar John Bellone

Fix warnings about not utilizing test module.

Make these tests green adn them figure out how to test the actual post-processor.
parent 7da7623d
...@@ -4,11 +4,10 @@ import ( ...@@ -4,11 +4,10 @@ import (
"archive/tar" "archive/tar"
"compress/gzip" "compress/gzip"
"fmt" "fmt"
"io"
"os"
"github.com/mitchellh/packer/common" "github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer" "github.com/mitchellh/packer/packer"
"io"
"os"
) )
type Config struct { type Config struct {
...@@ -36,7 +35,7 @@ func (self *PostProcessor) Configure(raws ...interface{}) error { ...@@ -36,7 +35,7 @@ func (self *PostProcessor) Configure(raws ...interface{}) error {
self.config.tpl.UserVars = self.config.PackerUserVars self.config.tpl.UserVars = self.config.PackerUserVars
templates := map[string]*string{ templates := map[string]*string{
"output_path": &self.config.OutputPath, "output": &self.config.OutputPath,
} }
errs := new(packer.MultiError) errs := new(packer.MultiError)
......
package compress package compress
import ( import ()
"github.com/mitchellh/packer/packer"
"testing"
)
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