Remove unnecessary newlines in regression test scripts