Fix bug, test script should accept both 1 and 2 arguments (#165)

Usefull when placing the output in another directory.
This commit is contained in:
Fredrik Skold 2020-07-01 12:53:50 +02:00 committed by Stefan Wahren
parent 69019312c9
commit e89f929f6c

View File

@ -19,7 +19,7 @@ touch $FAILING_TESTS
touch $NEW_TESTS
# Check commandline parameter
if [ $# -ne 1 ]; then
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
echo "usage: $0 path_to_directory_with_xml_files"
echo "or"
echo "usage: $0 path_to_directory_with_xml_files path_to_mbus_parse_hex_with_filename"