mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 23:28:12 +00:00
Tests: Build automatically, fix compilation errors
This commit is contained in:
parent
538b985487
commit
29eceebdbf
21 changed files with 31 additions and 1 deletions
16
Userland/Tests/Kernel/path-resolution-race.cpp
Normal file
16
Userland/Tests/Kernel/path-resolution-race.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
if (!fork()) {
|
||||
for (;;) {
|
||||
mkdir("/tmp/x", 0666);
|
||||
rmdir("/tmp/x");
|
||||
}
|
||||
}
|
||||
for (;;) {
|
||||
chdir("/tmp/x");
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue