Skip to content

Commit

Permalink
Fix bug, test script should accept both 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.

(cherry picked from commit e89f929)
  • Loading branch information
fredrik-sk authored and Apollon77 committed Aug 2, 2020
1 parent ac29035 commit cd57e31
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 @@ -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"
Expand Down

0 comments on commit cd57e31

Please sign in to comment.