]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t4123-apply-shrink.sh
tests: fix broken &&-chains in compound statements
[thirdparty/git.git] / t / t4123-apply-shrink.sh
index 984157f03b9744aa491c888fab9e6aef95dfdc6b..51e69cf79e4a3ef336907c06a822a6c68d6e4b38 100755 (executable)
@@ -45,8 +45,8 @@ test_expect_success 'apply should fail gracefully' '
                echo Oops, should not have succeeded
                false
        else
-               status=$?
-               echo "Status was $status"
+               status=$? &&
+               echo "Status was $status" &&
                if test -f .git/index.lock
                then
                        echo Oops, should not have crashed