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:
parent
69019312c9
commit
e89f929f6c
@ -19,7 +19,7 @@ touch $FAILING_TESTS
|
|||||||
touch $NEW_TESTS
|
touch $NEW_TESTS
|
||||||
|
|
||||||
# Check commandline parameter
|
# Check commandline parameter
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
|
||||||
echo "usage: $0 path_to_directory_with_xml_files"
|
echo "usage: $0 path_to_directory_with_xml_files"
|
||||||
echo "or"
|
echo "or"
|
||||||
echo "usage: $0 path_to_directory_with_xml_files path_to_mbus_parse_hex_with_filename"
|
echo "usage: $0 path_to_directory_with_xml_files path_to_mbus_parse_hex_with_filename"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user