From 0c68a893392f85db0923c7a8158a6ba978d9b77c Mon Sep 17 00:00:00 2001 From: "Peter Helcmanovsky (Ped)" Date: Sun, 28 Jul 2024 23:59:27 +0200 Subject: [PATCH] fix #218 - force english errors in any user locale (2nd attempt) First fix failed in windows builds... *sigh* --- tests/misc/directives_cpp/coverage1.asm | 2 +- tests/misc/directives_cpp/coverage1.msglst | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/misc/directives_cpp/coverage1.asm b/tests/misc/directives_cpp/coverage1.asm index 83cfbbc..d95bb49 100644 --- a/tests/misc/directives_cpp/coverage1.asm +++ b/tests/misc/directives_cpp/coverage1.asm @@ -50,4 +50,4 @@ fwdLabel: SHELLEXEC "echo -n Ahoy! " SHELLEXEC '"echo"', "\ from SHELLEXEC" - SHELLEXEC "LANG=C bash", "my_invalid_filename" + SHELLEXEC "bash", "-c 'LANG=C; ls my_invalid_filename'" diff --git a/tests/misc/directives_cpp/coverage1.msglst b/tests/misc/directives_cpp/coverage1.msglst index 42ab813..f9a6cb5 100644 --- a/tests/misc/directives_cpp/coverage1.msglst +++ b/tests/misc/directives_cpp/coverage1.msglst @@ -85,9 +85,9 @@ coverage1.asm(49): error: Syntax error: " 50 000B 51 000B SHELLEXEC "echo -n Ahoy! " 52 000B SHELLEXEC '"echo"', "\ from SHELLEXEC" -bash: my_invalid_filename: No such file or directory -coverage1.asm(53): error: [SHELLEXEC] non-zero exit code: 127 -53 000B SHELLEXEC "LANG=C bash", "my_invalid_filename" +ls: cannot access 'my_invalid_filename': No such file or directory +coverage1.asm(53): error: [SHELLEXEC] non-zero exit code: 2 +53 000B SHELLEXEC "bash", "-c 'LANG=C; ls my_invalid_filename'" 54 000B # file closed: coverage1.asm