Commit fc728c04 authored by Roman Vaughan's avatar Roman Vaughan Committed by Anas Nashif
Browse files

tests: fs: Ensure file_path includes max file name length



A hardcoded path lenth of 80 will not be able to suppor the full length
of 255 when LFN is enabled. This does produce a compiler error,
thankfully, this is only applicable to the test cases.

Signed-off-by: default avatarRoman Vaughan <nzsmartie@gmail.com>
Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 4bc83f3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ static int test_rmdir(void)
	int res;
	struct fs_dir_t dirp;
	static struct fs_dirent entry;
	char file_path[80];
	char file_path[80 + MAX_FILE_NAME];

	TC_PRINT("\nrmdir tests:\n");