Files
linuxcncAllWasm/tests/interp/sub-call-from-sub/test.sh
2026-08-20 06:17:39 +08:00

8 lines
284 B
Bash

#!/bin/bash
# Calling a sub from within another sub must work.
# This verifies that the nested definition check does not
# incorrectly block valid nested calls.
# Regression test for LinuxCNC/linuxcnc#3880.
rs274 -g -i test.ini test.ngc | awk '{$1=""; print}'
exit "${PIPESTATUS[0]}"