Commit 63309b28 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Skip FOPEN_KEEP_CACHE test on Darwin.

Change-Id: Id6edd71df1e623affbbc66b2d96b5c23aedd3fe0
parent be264094
...@@ -4,6 +4,7 @@ import ( ...@@ -4,6 +4,7 @@ import (
"bytes" "bytes"
"io/ioutil" "io/ioutil"
"os" "os"
"runtime"
"sync" "sync"
"testing" "testing"
...@@ -60,6 +61,10 @@ func setupCacheTest(t *testing.T) (string, *pathfs.PathNodeFs, func()) { ...@@ -60,6 +61,10 @@ func setupCacheTest(t *testing.T) (string, *pathfs.PathNodeFs, func()) {
} }
func TestFopenKeepCache(t *testing.T) { func TestFopenKeepCache(t *testing.T) {
if runtime.GOOS == "darwin" {
t.Skip("FOPEN_KEEP_CACHE is broken on Darwin.")
}
wd, pathfs, clean := setupCacheTest(t) wd, pathfs, clean := setupCacheTest(t)
defer clean() defer clean()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment