merge hook tests: fix missing '&&' in test
authorBenoit Pierre <redacted>
Mon, 10 Mar 2014 18:49:31 +0000 (19:49 +0100)
committerJunio C Hamano <redacted>
Tue, 11 Mar 2014 20:57:39 +0000 (13:57 -0700)
Signed-off-by: Benoit Pierre <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7505-prepare-commit-msg-hook.sh

index 357375151d79d03d11275875dd10ceea42a3ba47..1c95652dce4a616a4dd142511617559ca62e80f5 100755 (executable)
@@ -174,7 +174,7 @@ test_expect_success 'with failing hook (merge)' '
        git add file &&
        rm -f "$HOOK" &&
        git commit -m other &&
-       write_script "$HOOK" <<-EOF
+       write_script "$HOOK" <<-EOF &&
        exit 1
        EOF
        git checkout - &&
git clone https://git.99rst.org/PROJECT