t7000-t7999: fix broken &&-chains
[gitweb.git] / t / t7001-mv.sh
index e96cbdb105824bf7edaf5106113b8c534765abff..9e59e5a5dd031f036237dafc3ebb1e3854883caa 100755 (executable)
@@ -495,7 +495,7 @@ test_expect_success 'moving a submodule in nested directories' '
        test_cmp expect actual
 '
 
-test_expect_failure 'moving nested submodules' '
+test_expect_success 'moving nested submodules' '
        git commit -am "cleanup commit" &&
        mkdir sub_nested_nested &&
        (cd sub_nested_nested &&
@@ -509,7 +509,7 @@ test_expect_failure 'moving nested submodules' '
                touch nested_level1 &&
                git init &&
                git add . &&
-               git commit -m "nested level 1"
+               git commit -m "nested level 1" &&
                git submodule add ../sub_nested_nested &&
                git commit -m "add nested level 2"
        ) &&