test(libkernel_sys): reuse longName in the fchmodat check
This commit is contained in:
parent
e3c1d01815
commit
603d94a53f
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue