From 5fe0ebd51de4eba549df3172fb0a4be32585be3b Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 31 Jul 2023 03:45:42 -0400 Subject: tests: Fix dirent test with is_dir=1 opkg_opk_dirent_name_prefix() only adds a trailing slash if there's room in the name buffer. --- diff --git a/tests/dirent.c b/tests/dirent.c index 6446806..de20b86 100644 --- a/tests/dirent.c +++ b/tests/dirent.c @@ -38,7 +38,7 @@ main() .name = "baz", .parent = &bar, }; - char name[8]; + char name[9]; char pref[4]; puts("1..2"); -- cgit v0.9.1