Windows CI: test-unit for pkg\filenotify

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 28ee6fe7ca57e8e85ca7e0b6d2cb05c563d95e82
Component: engine
This commit is contained in:
John Howard
2016-02-11 17:47:26 -08:00
parent 992182031d
commit 81b3251921

View File

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