From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Wyckoff Subject: [PATCH 08/11] git-p4: test --max-changes Date: Sat, 17 Dec 2011 13:52:19 -0500 Message-ID: <1324147942-21558-9-git-send-email-pw@padd.com> References: <1324147942-21558-1-git-send-email-pw@padd.com> To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Dec 17 19:56:43 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RbzR5-0003YM-1j for gcvg-git-2@lo.gmane.org; Sat, 17 Dec 2011 19:56:43 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752712Ab1LQS4k (ORCPT ); Sat, 17 Dec 2011 13:56:40 -0500 Received: from honk.padd.com ([74.3.171.149]:58919 "EHLO honk.padd.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752685Ab1LQS4i (ORCPT ); Sat, 17 Dec 2011 13:56:38 -0500 Received: from arf.padd.com (unknown [50.55.144.134]) by honk.padd.com (Postfix) with ESMTPSA id E2C741C89; Sat, 17 Dec 2011 10:56:29 -0800 (PST) Received: by arf.padd.com (Postfix, from userid 7770) id 8C6E2314AB; Sat, 17 Dec 2011 13:55:03 -0500 (EST) X-Mailer: git-send-email 1.7.8.283.g3bcee.dirty In-Reply-To: <1324147942-21558-1-git-send-email-pw@padd.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Pete Wyckoff --- t/t9806-options.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/t/t9806-options.sh b/t/t9806-options.sh index 6770326..cc0fd26 100755 --- a/t/t9806-options.sh +++ b/t/t9806-options.sh @@ -83,6 +83,16 @@ test_expect_success 'clone/sync --import-local' ' ) ' +test_expect_success 'clone --max-changes' ' + "$GITP4" clone --dest="$git" --max-changes 2 //depot@all && + test_when_finished cleanup_git && + ( + cd "$git" && + git log --oneline refs/heads/master >lines && + test_line_count = 2 lines + ) +' + test_expect_success 'kill p4d' ' kill_p4d ' -- 1.7.8.258.g45cc3c