summaryrefslogtreecommitdiff
path: root/Tests/Kernel/TestKernelFilePermissions.cpp
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-02-08 21:08:01 +0100
committerLinus Groh <mail@linusgroh.de>2023-02-13 00:50:07 +0000
commitd43a7eae545cd699f301471bd0f82399174339c1 (patch)
treec0a55f768f845041c3aebed3f126d462155a799f /Tests/Kernel/TestKernelFilePermissions.cpp
parent14951b92ca6160664ccb68c5e1b2d40133763e5f (diff)
downloadserenity-d43a7eae545cd699f301471bd0f82399174339c1.zip
LibCore: Rename `File` to `DeprecatedFile`
As usual, this removes many unused includes and moves used includes further down the chain.
Diffstat (limited to 'Tests/Kernel/TestKernelFilePermissions.cpp')
-rw-r--r--Tests/Kernel/TestKernelFilePermissions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Kernel/TestKernelFilePermissions.cpp b/Tests/Kernel/TestKernelFilePermissions.cpp
index 00dbbabc5b..ec58a1f10a 100644
--- a/Tests/Kernel/TestKernelFilePermissions.cpp
+++ b/Tests/Kernel/TestKernelFilePermissions.cpp
@@ -5,7 +5,7 @@
*/
#include <AK/DeprecatedString.h>
-#include <LibCore/File.h>
+#include <LibCore/DeprecatedFile.h>
#include <LibTest/TestCase.h>
#include <fcntl.h>
#include <stdio.h>
@@ -81,7 +81,7 @@ TEST_CASE(test_change_file_location)
ftruncate(fd, 0);
EXPECT(fchmod(fd, 06755) != -1);
- auto suid_path_or_error = Core::File::read_link(DeprecatedString::formatted("/proc/{}/fd/{}", getpid(), fd));
+ auto suid_path_or_error = Core::DeprecatedFile::read_link(DeprecatedString::formatted("/proc/{}/fd/{}", getpid(), fd));
EXPECT(!suid_path_or_error.is_error());
auto suid_path = suid_path_or_error.release_value();