mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
Kernel: Trying to sys$link() a directory should fail with EPERM
This commit is contained in:
parent
e91f03cb39
commit
d4d17ce423
2 changed files with 5 additions and 0 deletions
|
@ -255,5 +255,7 @@ int main(int, char**)
|
|||
test_eoverflow();
|
||||
test_rmdir_while_inside_dir();
|
||||
|
||||
EXPECT_ERROR_2(EPERM, link, "/", "/home/anon/lolroot");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue