t3404 (rebase -i): introduce helper to check position of HEAD
[gitweb.git] / t / t1011-read-tree-sparse-checkout.sh
index 9a07de1a5b6d3a98c0db0b24cdd9c3a68cef79b5..8cf151548a6a758e49566ae7ff0d71107c9c41f5 100755 (executable)
@@ -47,7 +47,7 @@ test_expect_success 'read-tree without .git/info/sparse-checkout' '
 '
 
 test_expect_success 'read-tree with .git/info/sparse-checkout but disabled' '
-       echo >.git/info/sparse-checkout
+       echo >.git/info/sparse-checkout &&
        git read-tree -m -u HEAD &&
        git ls-files -t >result &&
        test_cmp expected.swt result &&