Commit 0558d56b authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/amazon/chroot: get tests psasing on Windows

parent 83add396
...@@ -4,10 +4,15 @@ import ( ...@@ -4,10 +4,15 @@ import (
"fmt" "fmt"
"io/ioutil" "io/ioutil"
"os" "os"
"runtime"
"testing" "testing"
) )
func TestCopyFile(t *testing.T) { func TestCopyFile(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
first, err := ioutil.TempFile("", "copy_files_test") first, err := ioutil.TempFile("", "copy_files_test")
if err != nil { if err != nil {
t.Fatalf("couldn't create temp file.") t.Fatalf("couldn't create temp file.")
......
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