diff --git a/test-linuxcnc-source-link.sh b/test-linuxcnc-source-link.sh index ff2471a..da48530 100755 --- a/test-linuxcnc-source-link.sh +++ b/test-linuxcnc-source-link.sh @@ -1459,6 +1459,11 @@ if CNC_SIM_RS274_FILE_MODE=1 CNC_SIM_RS274_VAR="$var_file" \ echo "expected linuxcnc_abort_hot_comment.ngc to fail" >&2 exit 1 fi +# Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc +# convert_comment() routes ABORT hot comments through convert_param_comment() +# and setSavedError(), preserving expanded numbered and named parameters. +grep -Fq "execute failed: MixedCase param42=20.000000 named=4711.000000" \ + "$output_dir/cnc_sim_linuxcnc_source_abort_hot_comment.err" if CNC_SIM_RS274_FILE_MODE=1 CNC_SIM_RS274_VAR="$var_file" \ "$build_dir/linuxcnc_rs274_source_dump" tests/gcode/linuxcnc_ccomp_gouging_error.ngc \ >"$output_dir/cnc_sim_linuxcnc_source_ccomp_gouging_error.json" 2>"$output_dir/cnc_sim_linuxcnc_source_ccomp_gouging_error.err"; then