summaryrefslogtreecommitdiff
path: root/t/t9800-git-p4.sh
diff options
context:
space:
mode:
authorLibravatar Pete Wyckoff <pw@padd.com>2011-07-31 09:45:38 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-01 10:24:15 -0700
commiteab30818a9d0b874f9b339374349043f2c4aee5d (patch)
tree057dbf715b9d0bac1203e93b348fa91adc8137f3 /t/t9800-git-p4.sh
parentgit-p4: add missing && in test (diff)
downloadtgif-eab30818a9d0b874f9b339374349043f2c4aee5d.tar.xz
git-p4: one test missing config git-p4.skipSubmitEditCheck
Add this missing line in one of the tests. Otherwise, on fast machines, the following git-p4 commit will complain that nobody edited the submission message. Signed-off-by: Pete Wyckoff <pw@padd.com> Acked-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9800-git-p4.sh')
-rwxr-xr-xt/t9800-git-p4.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t9800-git-p4.sh b/t/t9800-git-p4.sh
index b7eda82894..b3047077e9 100755
--- a/t/t9800-git-p4.sh
+++ b/t/t9800-git-p4.sh
@@ -191,6 +191,7 @@ test_expect_success 'refuse to preserve users without perms' '
"$GITP4" clone --dest="$git" //depot &&
test_when_finished cleanup_git &&
cd "$git" &&
+ git config git-p4.skipSubmitEditCheck true &&
echo "username-noperms: a change by alice" >> file1 &&
git commit --author "Alice <alice@localhost>" -m "perms: a change by alice" file1 &&
! P4EDITOR=touch P4USER=bob P4PASSWD=secret "$GITP4" commit --preserve-user &&