t6200: test message for merging of an annotated tag
[gitweb.git] / t / t9805-git-p4-skip-submit-edit.sh
index fb3c8ec12c7a3724c3b4f719c91357cc4afed078..ff2cc79701cce5ff570ff3c11d1ad0b60459d9ef 100755 (executable)
@@ -38,7 +38,7 @@ test_expect_success 'no config, unedited, say no' '
                cd "$git" &&
                echo line >>file1 &&
                git commit -a -m "change 3 (not really)" &&
-               printf "bad response\nn\n" | git p4 submit &&
+               printf "bad response\nn\n" | test_expect_code 1 git p4 submit &&
                p4 changes //depot/... >wc &&
                test_line_count = 2 wc
        )