Fix broken Windows tests

@spf13 having a CI on Windows is only useful if you actually look at the
build output.
This commit is contained in:
bep 2016-02-15 12:13:46 +01:00
parent 28789ef4b7
commit 3c51231761
1 changed files with 3 additions and 0 deletions

View File

@ -253,6 +253,7 @@ func TestNestedDirOverlayOsFsReaddir(t *testing.T) {
// Opening nested dir only in the overlay
fh, _ = ufs.Open("/home/test/foo")
list, err := fh.Readdir(-1)
fh.Close()
if err != nil {
t.Errorf("Readdir failed", err)
}
@ -288,6 +289,7 @@ func TestCopyOnWriteFsWithOsFs(t *testing.T) {
fh, _ = ufs.Open("/home/test")
files, err := fh.Readdirnames(-1)
fh.Close()
if err != nil {
t.Errorf("Readdirnames failed")
}
@ -297,6 +299,7 @@ func TestCopyOnWriteFsWithOsFs(t *testing.T) {
fh, _ = overlay.Open("/home/test")
files, err = fh.Readdirnames(-1)
fh.Close()
if err != nil {
t.Errorf("Readdirnames failed")
}