Unix launcher script brokes on ';' character on enviroment variables

Hello and good time of day. I stumbled on funny bug in 1.12 distribution If environment variables

‘’’ $DEFAULT_JVM_OPTS, $JAVA_OPTS or $GRADLE_OPTS

‘’’ (in unix gradle launcher script) contains ‘;’ launcher script will ensure error, and options will be partially read. Problem easilly fixed by escaping options with ’ '. My question is how to make tests for launcher script? I looked at repository, but i can’t find any tests for bash script. Please direct me to existing solution or suggest that i make one.