From ed4c04f005e9ab3d43336a6181e2ce30a8e14382 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Fri, 3 Oct 2008 01:30:35 -0500 Subject: [PATCH] Add missing '&&' suffixes. --- .../t3200-server-post-receive-assign-commit-numbers.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/t3200-server-post-receive-assign-commit-numbers.sh b/tests/t3200-server-post-receive-assign-commit-numbers.sh index b4cdac3..013b3c5 100644 --- a/tests/t3200-server-post-receive-assign-commit-numbers.sh +++ b/tests/t3200-server-post-receive-assign-commit-numbers.sh @@ -25,8 +25,8 @@ test_expect_success 'assign one new commit' ' git push origin master && git fetch && - test "$(git rev-parse HEAD)" = "$(git rev-parse r/1)" - test "$(git describe --tags)" = "r/1" + test "$(git rev-parse HEAD)" = "$(git rev-parse r/1)" && + test "$(git describe --tags)" = "r/1" && test "$(git rev-parse HEAD) refs/heads/master" = "$(cat server/.git/commitnumbers)" ' @@ -38,10 +38,10 @@ test_expect_success 'assign two new commits' ' git push origin master && git fetch && - test "$(git rev-parse HEAD)" = "$(git rev-parse r/3)" - test "$(git describe --tags)" = "r/3" + test "$(git rev-parse HEAD)" = "$(git rev-parse r/3)" && + test "$(git describe --tags)" = "r/3" && - test "$(git rev-parse HEAD^)" = "$(git rev-parse r/2)" + test "$(git rev-parse HEAD^)" = "$(git rev-parse r/2)" && test "$(git describe --tags HEAD^)" = "r/2" ' -- 2.39.5