Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

14
tests/linuxcncrsh/checkresult Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
TEST_DIR=$(dirname "$1")
cd "$TEST_DIR" || { echo "E: Could not change directory to '$TEST_DIR'"; exit 1; }
# show deviation from expected output
diff -uwB expected-gcode-output gcode-output || exit 1
diff -uwB expected-telnet-output telnet-output || exit 1
# search all output for possible errors
grep 'error_type' result && exit 1
grep 'CMS_ERROR' result && exit 1
grep 'Recent errors repeated' result && exit 1
exit 0