Hi, Andrey has spotted one more thing in the patch: + ok(tests[i].perms == tests[i].perms, "_Stat(): test %d perms expect: 0%o, got 0%o\n", + i+1, tests[i].perms, perms); + there should be: ok(perms == tests[i].perms, ... Thanks, Piotr