#!/bin/bash -e
export PYTHONUNBUFFERED=1
do_test() {
    INI="$1"
    linuxcnc -r "$INI" | grep -i m6
}

echo "**********  Testing python remaps"
do_test test-py.ini
echo
echo "**********  Testing ngc remaps"
do_test test-ngc.ini

