mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-07 22:20:24 +00:00
Attempt to fix test: make it more system-agnostic.
This commit is contained in:
Vendored
+1
-1
@@ -86,6 +86,6 @@ func (s *RepositorySuite) TestLinkFromPool(c *C) {
|
|||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
|
|
||||||
info := st.Sys().(*syscall.Stat_t)
|
info := st.Sys().(*syscall.Stat_t)
|
||||||
c.Check(info.Nlink, Equals, uint16(2))
|
c.Check(int(info.Nlink), Equals, 2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user