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

View File

@@ -0,0 +1,22 @@
#!/bin/sh
STDERR=$(dirname "$1")/stderr
if [ ! -f "$STDERR" ]; then
echo "stderr file not found!"
exit 1
fi
# Linux spelling of ERANGE
if grep -E -q 'rtapi_app_main_fails.* Numerical result out of range' "$STDERR"; then
#echo "loadrt found the test component, and it failed to load"
exit 0
fi
# FreeBSD spelling of ERANGE
if grep -E -q 'rtapi_app_main_fails.* Result too large' "$STDERR"; then
#echo "loadrt found the test component, and it failed to load"
exit 0
fi
echo "loadrt did not find the test component"
exit 1