Browse Source

command/agent: skip unix file permissions test on windows

pull/986/head
Emil Hessman 10 years ago
parent
commit
3bfc6dfe49
  1. 4
      command/agent/util_test.go

4
command/agent/util_test.go

@ -3,6 +3,7 @@ package agent
import (
"io/ioutil"
"os"
"runtime"
"testing"
"time"
)
@ -43,6 +44,9 @@ func TestStringHash(t *testing.T) {
}
func TestSetFilePermissions(t *testing.T) {
if runtime.GOOS == "windows" {
t.SkipNow()
}
tempFile, err := ioutil.TempFile("", "consul")
if err != nil {
t.Fatalf("err: %s", err)

Loading…
Cancel
Save