Skip to content

Commit

Permalink
remove test that fails in some environments
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
  • Loading branch information
justincormack committed Dec 13, 2015
1 parent d431693 commit 22604b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/linux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,6 @@ test.netlink = {
end,
test_getlink = function()
local i = assert(nl.getlink())
local st, err = S.stat("/sys/class/net") -- just in case sysfs not mounted
if not st then error "skipped" end
local df = assert(util.dirtable("/sys/class/net", true))
assert_equal(#df, #i, "expect same number of interfaces as /sys/class/net")
assert(i.lo, "expect a loopback interface")
local lo = i.lo
assert(lo.flags.up, "loopback interface should be up")
Expand Down

0 comments on commit 22604b8

Please sign in to comment.