From 28ee6fe7ca57e8e85ca7e0b6d2cb05c563d95e82 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 11 Feb 2016 17:47:26 -0800 Subject: [PATCH] Windows CI: test-unit for pkg\filenotify Signed-off-by: John Howard --- pkg/filenotify/poller_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/filenotify/poller_test.go b/pkg/filenotify/poller_test.go index 49e6e6486c..0715c25868 100644 --- a/pkg/filenotify/poller_test.go +++ b/pkg/filenotify/poller_test.go @@ -4,6 +4,7 @@ import ( "fmt" "io/ioutil" "os" + "runtime" "testing" "time" @@ -36,6 +37,9 @@ func TestPollerAddRemove(t *testing.T) { } func TestPollerEvent(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("No chmod on Windows") + } w := NewPollingWatcher() f, err := ioutil.TempFile("", "test-poller")