[LTP] [PATCH] execve01|06: Correct names in the error message

Avinesh Kumar akumar@suse.de
Thu Jun 8 17:00:11 CEST 2023


Signed-off-by: Avinesh Kumar <akumar@suse.de>
---
 testcases/kernel/syscalls/execve/execve01.c | 2 +-
 testcases/kernel/syscalls/execve/execve06.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/syscalls/execve/execve01.c b/testcases/kernel/syscalls/execve/execve01.c
index 2b12c7666..53f0475e3 100644
--- a/testcases/kernel/syscalls/execve/execve01.c
+++ b/testcases/kernel/syscalls/execve/execve01.c
@@ -34,7 +34,7 @@ static void verify_execve(void)
 	pid = SAFE_FORK();
 	if (pid == 0) {
 		execve(path, args, envp);
-		tst_brk(TFAIL | TERRNO, "Failed to execute execl01_child");
+		tst_brk(TFAIL | TERRNO, "Failed to execute execve01_child");
 	}
 }
 
diff --git a/testcases/kernel/syscalls/execve/execve06.c b/testcases/kernel/syscalls/execve/execve06.c
index afbfcfa9e..a00089265 100644
--- a/testcases/kernel/syscalls/execve/execve06.c
+++ b/testcases/kernel/syscalls/execve/execve06.c
@@ -35,7 +35,7 @@ static void verify_execve(void)
 	pid = SAFE_FORK();
 	if (pid == 0) {
 		execve(path, argv, envp);
-		tst_brk(TFAIL | TERRNO, "Failed to execute execl01_child");
+		tst_brk(TFAIL | TERRNO, "Failed to execute execve06_child");
 	}
 }
 
-- 
2.40.1



More information about the ltp mailing list