[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250513214438.300430-1-Abdelrahmanfekry375@gmail.com>
Date: Wed, 14 May 2025 00:44:38 +0300
From: Abdelrahman Fekry <abdelrahmanfekry375@...il.com>
To: shauh@...nel.org,
skhan@...uxfoundation.org
Cc: linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linux.dev,
Abdelrahman Fekry <Abdelrahmanfekry375@...il.com>,
Abdelrahman Fekry <AbdelrahmanFekry375@...il.com>
Subject: [PATCH] selftests: size: fix grammar and align output formatting
Improve the grammar in the test name by changing "get runtime memory use"
to "get runtime memory usage". Also adjust spacing in output lines
("Total:", "Free:", etc.) to ensure consistent alignment and readability.
Signed-off-by: Abdelrahman Fekry <AbdelrahmanFekry375@...il.com>
---
tools/testing/selftests/size/get_size.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/size/get_size.c b/tools/testing/selftests/size/get_size.c
index 2980b1a63366..d5b67c073d8e 100644
--- a/tools/testing/selftests/size/get_size.c
+++ b/tools/testing/selftests/size/get_size.c
@@ -86,7 +86,7 @@ void _start(void)
int ccode;
struct sysinfo info;
unsigned long used;
- static const char *test_name = " get runtime memory use\n";
+ static const char *test_name = " get runtime memory usage\n";
print("TAP version 13\n");
print("# Testing system size.\n");
@@ -105,8 +105,8 @@ void _start(void)
used = info.totalram - info.freeram - info.bufferram;
print("# System runtime memory report (units in Kilobytes):\n");
print(" ---\n");
- print_k_value(" Total: ", info.totalram, info.mem_unit);
- print_k_value(" Free: ", info.freeram, info.mem_unit);
+ print_k_value(" Total : ", info.totalram, info.mem_unit);
+ print_k_value(" Free : ", info.freeram, info.mem_unit);
print_k_value(" Buffer: ", info.bufferram, info.mem_unit);
print_k_value(" In use: ", used, info.mem_unit);
print(" ...\n");
--
2.25.1
Powered by blists - more mailing lists