lib-gpg: drop unnecessary "missing GPG" warning
[gitweb.git] / t / t9807-git-p4-submit.sh
index 4caf36e0066313f5402f61645c4330093ba23fcf..593152817dadaf1804f4a851c51b8bf1cbf52db9 100755 (executable)
@@ -389,7 +389,7 @@ test_expect_success 'description with Jobs section and bogus following text' '
        (
                cd "$cli" &&
                p4 revert desc6 &&
-               rm desc6
+               rm -f desc6
        )
 '
 
@@ -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" &&