Skip to content

Commit

Permalink
Fix bug, test script should accept bothe 1 and 2 arguments (rscada#165)
Browse files Browse the repository at this point in the history
Usefull when placing the output in another directory.
  • Loading branch information
fredrik-sk committed Jul 1, 2020
1 parent 42c9376 commit 54fc941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/generate-xml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FAILING_TESTS=failing_tests.txt
touch $FAILING_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"
Expand Down

0 comments on commit 54fc941

Please sign in to comment.