Skip to content

Commit

Permalink
Revert "Updated test for qemu VMName. Previously (0.7.5) a file exten…
Browse files Browse the repository at this point in the history
…sion was automatically added to the VMname but this logic is not exposed for testing."

This reverts commit d13647e.
  • Loading branch information
cbednarski committed Aug 21, 2015
1 parent 1830c81 commit c8d1c65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions builder/qemu/builder_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package qemu

import (
"github.com/mitchellh/packer/packer"
"io/ioutil"
"os"
"reflect"
"testing"

"github.com/mitchellh/packer/packer"
)

var testPem = `
Expand Down Expand Up @@ -84,7 +83,7 @@ func TestBuilderPrepare_Defaults(t *testing.T) {
t.Errorf("bad ssh port: %d", b.config.Comm.SSHPort)
}

if b.config.VMName != "packer-foo.qcow2" {
if b.config.VMName != "packer-foo" {
t.Errorf("bad vm name: %s", b.config.VMName)
}

Expand Down

0 comments on commit c8d1c65

Please sign in to comment.