From 4c19305a172212746b579aca985837505e9ef7a8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 19 Apr 2020 18:06:48 +0200 Subject: [PATCH] test_io: Unbreak symlink test after sys$readlink() '\0' changes --- Userland/test_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/test_io.cpp b/Userland/test_io.cpp index 6c50b62535..377b653d5f 100644 --- a/Userland/test_io.cpp +++ b/Userland/test_io.cpp @@ -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) {