Allow cloning to an existing empty directory
[gitweb.git] / t / t3100-ls-tree-restrict.sh
index 46427e3f365ad0ec09c432f8cedf2106afe4dc08..6e6a2542a22712006ae23874069c55943a3cba27 100755 (executable)
@@ -35,7 +35,7 @@ _x40='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
 _x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
 test_output () {
     sed -e "s/ $_x40   / X     /" <current >check
-    git diff expected check
+    test_cmp expected check
 }
 
 test_expect_success \