update tests
This commit is contained in:
parent
7c41244e15
commit
7f040dfed8
|
@ -36,6 +36,10 @@ func ConfigTmpDir() (string, error) {
|
|||
}
|
||||
|
||||
td, err := ioutil.TempDir(configdir, "tmp")
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("Error creating temp dir: %s", err)
|
||||
|
||||
}
|
||||
log.Printf("Set Packer temp dir to %s", td)
|
||||
return td, nil
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ func testStepTempDir_impl(t *testing.T) string {
|
|||
dir := dirRaw.(string)
|
||||
|
||||
if _, err := os.Stat(dir); err != nil {
|
||||
t.Fatalf("err: %s", err)
|
||||
t.Fatalf("Stat for %s failed: err: %s", err, dir)
|
||||
}
|
||||
|
||||
// Cleanup
|
||||
|
|
Loading…
Reference in New Issue