if ROBOT_TEST_RUN_ID is set, the underlying script run-tests-in-virtual-screen.sh is not waroking as intended
instead a warning is produced:
/opt/robotframework/bin/run-tests-in-virtual-screen.sh: line 11: [: -eq: unary operator expected
Reason is, that operator -eq expects integer as variables. See abs for details.
This fix uses the count commandline parameter of grep to count the rows with trailing slash. The result is an integer, which can be used with -eq operator.
if ROBOT_TEST_RUN_ID is set, the underlying script run-tests-in-virtual-screen.sh is not waroking as intended instead a warning is produced:
/opt/robotframework/bin/run-tests-in-virtual-screen.sh: line 11: [: -eq: unary operator expected
Reason is, that operator -eq expects integer as variables. See abs for details.
This fix uses the count commandline parameter of grep to count the rows with trailing slash. The result is an integer, which can be used with -eq operator.