• B
    Fix tests breaking when checkout path contains shell metacharacters · f69e836f
    Bryan Donlan 提交于
    This fixes the remainder of the issues where the test script itself is at
    fault for failing when the git checkout path contains whitespace or other
    shell metacharacters.
    
    The majority of git svn tests used the idiom
    
      test_expect_success "title" "test script using $svnrepo"
    
    These were changed to have the test script in single-quotes:
    
      test_expect_success "title" 'test script using "$svnrepo"'
    
    which unfortunately makes the patch appear larger than it really is.
    
    One consequence of this change is that in the verbose test output the
    value of $svnrepo (and in some cases other variables, too) is no
    longer expanded, i.e. previously we saw
    
      * expecting success:
    	test script using /path/to/git/t/trash/svnrepo
    
    but now it is:
    
      * expecting success:
    	test script using "$svnrepo"
    Signed-off-by: NBryan Donlan <bdonlan@fushizen.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    f69e836f
t5500-fetch-pack.sh 4.1 KB