Browse Source

agent: skip syslog test on windows

pull/409/head
Armon Dadgar 10 years ago
parent
commit
e4dc15b9e3
  1. 4
      command/agent/syslog_test.go

4
command/agent/syslog_test.go

@ -1,6 +1,7 @@
package agent
import (
"runtime"
"testing"
"github.com/hashicorp/go-syslog"
@ -8,6 +9,9 @@ import (
)
func TestSyslogFilter(t *testing.T) {
if runtime.GOOS == "windows" {
t.SkipNow()
}
l, err := gsyslog.NewLogger(gsyslog.LOG_NOTICE, "LOCAL0", "consul")
if err != nil {
t.Fatalf("err: %s", err)

Loading…
Cancel
Save