diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index 322eaadc730dd022fffe92aba2cba717a3ebe7dc..900ca93cde02f82c35a59ee99349f9d0c4213867 100755 (executable)
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
git-diff-tree -r -M --name-status HEAD^ HEAD | \
grep -E "^R100.+path2/README.+path1/path2/README"'
+test_expect_failure \
+ 'do not move directory over existing directory' \
+ 'mkdir path0 && mkdir path0/path2 && git-mv path2 path0'
+
test_done