This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 29afbc603 testing/fs/fatutf8: shorten the FOLDER&FILE for default 
NAME_MAX 32
29afbc603 is described below

commit 29afbc603c7029819602be11d6823aacb33c67bb
Author: buxiasen <[email protected]>
AuthorDate: Wed Feb 25 22:25:02 2026 +0800

    testing/fs/fatutf8: shorten the FOLDER&FILE for default NAME_MAX 32
    
    When NAME_MAX use default 32, the FOLDER_NAME previous length
    36 will cause errno ENAMETOOLONG, use a shorter 22 bytes
    should enough for test purpose.
    
    Signed-off-by: buxiasen <[email protected]>
    Signed-off-by: jingfei <[email protected]>
---
 testing/fs/fatutf8/fatutf8_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/fs/fatutf8/fatutf8_main.c 
b/testing/fs/fatutf8/fatutf8_main.c
index 11a3daca4..961616134 100644
--- a/testing/fs/fatutf8/fatutf8_main.c
+++ b/testing/fs/fatutf8/fatutf8_main.c
@@ -52,8 +52,8 @@ static void show_usage(FAR const char *progname, int exitcode)
  ****************************************************************************/
 
 #define BASEPATH "/mnt/sdcard"
-#define FOLDER_NAME "/ÄÖÜ 测试文件夹 Test Folder"
-#define FILE_NAME "/ÄÖÜ 测试文件 Test File"
+#define FOLDER_NAME "/ÄÖÜ 测试 Folder"
+#define FILE_NAME "/ÄÖÜ 测试 File"
 
 int main(int argc, FAR char *argv[])
 {

Reply via email to