aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/src/main.cpp b/kernel/src/main.cpp
index 4510240..98c88f2 100644
--- a/kernel/src/main.cpp
+++ b/kernel/src/main.cpp
@@ -132,6 +132,10 @@ auto test_file_lookup() -> void
kstd::os::panic("test code failed");
}
auto ofd5 = vfs.open("/a/b/c");
+ if (!ofd5)
+ {
+ kstd::os::panic("test code failed");
+ }
if (auto ofd6 = vfs.open("x/y/z"))
{