Fix warnings about not utilizing test module.

Make these tests green adn them figure out how to test the actual post-processor.
This commit is contained in:
John Bellone 2014-06-12 16:45:37 -04:00
parent 7da7623d38
commit a492ca7424
2 changed files with 4 additions and 8 deletions

View File

@ -4,11 +4,10 @@ import (
"archive/tar"
"compress/gzip"
"fmt"
"io"
"os"
"github.com/mitchellh/packer/common"
"github.com/mitchellh/packer/packer"
"io"
"os"
)
type Config struct {
@ -36,7 +35,7 @@ func (self *PostProcessor) Configure(raws ...interface{}) error {
self.config.tpl.UserVars = self.config.PackerUserVars
templates := map[string]*string{
"output_path": &self.config.OutputPath,
"output": &self.config.OutputPath,
}
errs := new(packer.MultiError)

View File

@ -1,6 +1,3 @@
package compress
import (
"github.com/mitchellh/packer/packer"
"testing"
)
import ()