send-email: add --[no-]xmailer option
[gitweb.git] / t / t9807-git-p4-submit.sh
index 1fb7bc7cf98bdbdf89491c687e6347cda673d720..1f74a88385e827f7162256fafc22db5de3d41bf8 100755 (executable)
@@ -17,7 +17,7 @@ test_expect_success 'init depot' '
        )
 '
 
-test_expect_failure 'is_cli_file_writeable function' '
+test_expect_success 'is_cli_file_writeable function' '
        (
                cd "$cli" &&
                echo a >a &&
@@ -403,7 +403,8 @@ test_expect_success 'submit --prepare-p4-only' '
                git commit -m "prep only add" &&
                git p4 submit --prepare-p4-only >out &&
                test_i18ngrep "prepared for submission" out &&
-               test_i18ngrep "must be deleted" out
+               test_i18ngrep "must be deleted" out &&
+               test_i18ngrep ! "everything below this line is just the diff" out
        ) &&
        (
                cd "$cli" &&