1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 00:37:35 +00:00

test_io: Unbreak symlink test after sys$readlink() '\0' changes

This commit is contained in:
Andreas Kling 2020-04-19 18:06:48 +02:00
parent 4393a2a96d
commit 4c19305a17

View file

@ -213,7 +213,7 @@ void test_unlink_symlink()
char buffer[PATH_MAX];
rc = readlink("/tmp/linky", buffer, sizeof(buffer));
ASSERT(rc == strlen("/proc/2/foo") + 1);
ASSERT(rc == strlen("/proc/2/foo"));
rc = unlink("/tmp/linky");
if (rc < 0) {