t: use test_expect_code instead of hand-rolled comparison
[gitweb.git] / t / t5533-push-cas.sh
index ba20d83333155b824506c33014019c1ce8868d68..dccf8a672ebb1247162b1c877d3a4fa729be2670 100755 (executable)
@@ -159,7 +159,7 @@ test_expect_success 'cover everything with default force-with-lease (protected)'
        (
                cd src &&
                git branch naster master^
-       )
+       ) &&
        git ls-remote src refs/heads/\* >expect &&
        (
                cd dst &&
@@ -174,7 +174,7 @@ test_expect_success 'cover everything with default force-with-lease (allowed)' '
        (
                cd src &&
                git branch naster master^
-       )
+       ) &&
        (
                cd dst &&
                git fetch &&