summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-06-06 11:38:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-06 11:38:57 -0700
commiteb5398a89122e4345b1fd3cab4f5630290bb3d0e (patch)
treecb9932fff1eb1f41494568d8579e5bc146aa4379 /t
parentMerge branch 'jn/test-lint-unmoor' (diff)
parentgit-p4: Do not include diff in spec file when just preparing p4 (diff)
downloadtgif-eb5398a89122e4345b1fd3cab4f5630290bb3d0e.tar.xz
Merge branch 'mc/git-p4-prepare-p4-only'
* mc/git-p4-prepare-p4-only: git-p4: Do not include diff in spec file when just preparing p4
Diffstat (limited to 't')
-rwxr-xr-xt/t9807-git-p4-submit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t9807-git-p4-submit.sh b/t/t9807-git-p4-submit.sh
index 4caf36e006..7fab2ed977 100755
--- a/t/t9807-git-p4-submit.sh
+++ b/t/t9807-git-p4-submit.sh
@@ -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" &&