test(libkernel_sys): reuse longName in the fchmodat check

This commit is contained in:
Adrià Franch 2026-10-13 16:14:56 +02:00
parent e3c1d01815
commit 603d94a53f
1 changed files with 0 additions and 1 deletions

View File

@ -419,7 +419,6 @@ int main() {
#ifndef _WIN32
Require(symlink_nid_postfix("loop", (root / "loop").string().c_str()) == 0);
Require(fchmodat_nid_postfix(base, "loop/x", 0600, 0) == -1 && Error() == 62);
const std::string longName(300, 'a');
Require(fchmodat_nid_postfix(base, longName.c_str(), 0600, 0) == -1 && Error() == 63);
#endif
Require(sceKernelClose(base) == 0);