Skip to contentSkip to conversation

execve01|06: Correct names in the error message

PATCH In review Avinesh Kumar 2 participants 2 messages Jun 8, 2023 – Jun 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 execve01|06: Correct names in the error message

---
 testcases/kernel/syscalls/execve/execve01.c | 2 +-
 testcases/kernel/syscalls/execve/execve06.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/syscalls/execve/execve01.c +1 -1
index 2b12c7666..53f0475e3 100644
@@ -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");
 	}
 }
 
testcases/kernel/syscalls/execve/execve06.c +1 -1
index afbfcfa9e..a00089265 100644
@@ -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");
 	}
 }
 
Signature · 5 lines
2.40.1


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Pushed, thanks!

Signature · 5 lines
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp