summaryrefslogtreecommitdiff
path: root/t/t9146-git-svn-empty-dirs.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t9146-git-svn-empty-dirs.sh')
-rwxr-xr-xt/t9146-git-svn-empty-dirs.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t9146-git-svn-empty-dirs.sh b/t/t9146-git-svn-empty-dirs.sh
index 70c52c1..9b8d046 100755
--- a/t/t9146-git-svn-empty-dirs.sh
+++ b/t/t9146-git-svn-empty-dirs.sh
@@ -105,4 +105,14 @@ test_expect_success 'empty directories in trunk exist' '
)
'
+test_expect_success 'remove a top-level directory from svn' '
+ svn_cmd rm -m "remove d" "$svnrepo"/d
+'
+
+test_expect_success 'removed top-level directory does not exist' '
+ git svn clone "$svnrepo" removed &&
+ test ! -e removed/d
+
+'
+
test_done