[PATCH 3/4] git-p4: one test missing config git-p4.skipSubmitEditCheck
- From
- Pete Wyckoff <pw@padd.com>
- Date
- Aug 7, 2011, 13:35 UTC
- Message-ID
- <20110807133548.GC27737@arf.padd.com>
- In-Reply-To
- <20110807133144.GA27521@arf.padd.com>
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> --- t/t9800-git-p4.sh | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/t9800-git-p4.sh b/t/t9800-git-p4.sh index b7eda82..b304707 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 &&
-- 1.7.5.4