OSDN Git Service

libgo: Update to weekly.2011-12-02.
[pf3gnuchains/gcc-fork.git] / libgo / go / net / http / fs_test.go
index 6697189..976ee75 100644 (file)
@@ -190,8 +190,8 @@ func TestDirJoin(t *testing.T) {
                if err != nil {
                        t.Fatalf("stat of %s: %v", name, err)
                }
-               if gfi.Ino != wfi.Ino {
-                       t.Errorf("%s got different inode", name)
+               if !gfi.(*os.FileStat).SameFile(wfi.(*os.FileStat)) {
+                       t.Errorf("%s got different file", name)
                }
        }
        test(Dir("/etc/"), "/hosts")