Skip to content

Commit

Permalink
fix #218 - force english errors in any user locale (2nd attempt)
Browse files Browse the repository at this point in the history
First fix failed in windows builds... *sigh*
  • Loading branch information
ped7g committed Jul 28, 2024
1 parent 39c09c8 commit 0c68a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/misc/directives_cpp/coverage1.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
6 changes: 3 additions & 3 deletions tests/misc/directives_cpp/coverage1.msglst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0c68a89

Please sign in to comment.