mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Tests: Build automatically, fix compilation errors
This commit is contained in:
parent
538b985487
commit
29eceebdbf
Notes:
sideshowbarker
2024-07-19 04:23:28 +09:00
Author: https://github.com/BenWiederhake
Commit: 29eceebdbf
Pull-request: https://github.com/SerenityOS/serenity/pull/2947
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