diff --git a/test/tool/net/lunix_test.lua b/test/tool/net/lunix_test.lua index 0b07073c3..aea76f6e9 100644 --- a/test/tool/net/lunix_test.lua +++ b/test/tool/net/lunix_test.lua @@ -144,6 +144,7 @@ function UnixTest() for name, kind, ino, off in assert(unix.opendir(tmpdir)) do table.insert(t, name) end + table.sort(t) assert(EncodeLua(t) == '{".", "..", "foo"}'); end