git-svn: quiet down tests and fix some unportable shell constructs