Import LinuxCNC source tree
This commit is contained in:
12
tests/interp/oword-mdi-sub-update/checkresult
Executable file
12
tests/interp/oword-mdi-sub-update/checkresult
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
TEST_DIR=$(dirname "$1")
|
||||
cd "$TEST_DIR"
|
||||
|
||||
# Avoid false negatives: This string should be present
|
||||
grep -q 'test RAN' result
|
||||
|
||||
# Test: This string should be absent
|
||||
if grep -q 'duplicate O-word label' result; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user