packer: Discard log output in tests

pull/24/head
Mitchell Hashimoto 13 years ago
parent f76027d449
commit 7dbe330099

@ -5,11 +5,18 @@ import (
"cgl.tideland.biz/asserts"
"errors"
"fmt"
"io/ioutil"
"log"
"os"
"strings"
"testing"
)
func init() {
// Disable log output for tests
log.SetOutput(ioutil.Discard)
}
func testEnvironment() Environment {
config := DefaultEnvironmentConfig()
config.Ui = &ReaderWriterUi{

Loading…
Cancel
Save