agent: skip syslog test on windows

This commit is contained in:
Armon Dadgar 2014-10-17 11:24:10 -07:00
parent 8dd3e3004a
commit c4951bb598
1 changed files with 4 additions and 0 deletions

View File

@ -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)