Issue #2635046 by neclimdul, dawehner, alexpott: run-test.sh doesn't work in directories with spaces (cherry picked from commit abc6c6a3)