11 lines
212 B
Bash
Executable File
11 lines
212 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# Variable 'i' is unused, just a loop count
|
|
# shellcheck disable=SC2034
|
|
for i in $(seq 20); do
|
|
linuxcnc -r test.ini
|
|
if grep -q '^[^+].*Segmentation fault' stderr; then
|
|
exit 1
|
|
fi
|
|
done
|