mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-11 17:37:33 +02:00
Make VFS test environment build again.
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 18:32:34 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/981a3ae4b3a
@@ -37,8 +37,8 @@ bool SyntheticFileSystem::initialize()
|
||||
m_inodes.set(RootInodeIndex, move(rootDir));
|
||||
|
||||
#ifndef SERENITY
|
||||
addFile(createTextFile("file", "I'm a synthetic file!\n"));
|
||||
addFile(createTextFile("message", "Hey! This isn't my bottle!\n"));
|
||||
addFile(createTextFile("file", String("I'm a synthetic file!\n").toByteBuffer(), 0100644));
|
||||
addFile(createTextFile("message", String("Hey! This isn't my bottle!\n").toByteBuffer(), 0100644));
|
||||
addFile(createGeneratedFile("lunk", [] { return String("/home/andreas/file1").toByteBuffer(); }, 00120777));
|
||||
#endif
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user