3 # Copyright (c) 2009 Robert Zeh
5 test_description
='git svn creates empty directories, calls git gc, makes sure they are still empty'
8 test_expect_success
'initialize repo' '
9 for i in a b c d d/e d/e/f "weird file name"
11 svn_cmd mkdir -m "mkdir $i" "$svnrepo"/"$i"
15 test_expect_success
'clone' 'git svn clone "$svnrepo" cloned'
17 test_expect_success
'git svn gc runs' '
24 test_expect_success
'git svn mkdirs recreates empty directories after git svn gc' '
29 for i in a b c d d/e d/e/f "weird file name"
33 echo >&2 "$i does not exist" &&