Import LinuxCNC source tree
This commit is contained in:
12
tests/module-loading/rtapi-app-main-fails/test.sh
Normal file
12
tests/module-loading/rtapi-app-main-fails/test.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
${SUDO} halcompile --install rtapi_app_main_fails.comp
|
||||
halrun -v setup.hal
|
||||
RETVAL=$?
|
||||
|
||||
if [ $RETVAL -eq 0 ]; then
|
||||
echo "the module loaded, but shouldn't have"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "the module failed to load, just like it should"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user