Skip to content

Commit

Permalink
git-p4: one test missing config git-p4.skipSubmitEditCheck
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pete Wyckoff authored and Junio C Hamano committed Aug 1, 2011
1 parent 83cf0fe commit eab3081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/t9800-git-p4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit eab3081

Please sign in to comment.