Commit 6c482b8033

daurnimator <quae@daurnimator.com>
2024-04-29 03:50:46
test/link/glibc_compat: fix incorrect strlcpy result
1 parent ad63be7
Changed files (1)
test
link
test/link/glibc_compat/glibc_runtime_check.zig
@@ -91,7 +91,7 @@ fn checkStrlcpy() !void {
 fn checkStrlcpy_v2_38() !void {
     var buf: [99]u8 = undefined;
     const used = c_string.strlcpy(&buf, "strlcpy works!", buf.len);
-    assert(used == 15);
+    assert(used == 14);
 }
 
 // atexit is part of libc_nonshared, so ensure its linked in correctly