From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Wyckoff Subject: [PATCH 08/11] git-p4: test --max-changes Date: Sat, 24 Dec 2011 21:07:37 -0500 Message-ID: <1324778860-4821-9-git-send-email-pw@padd.com> References: <1324778860-4821-1-git-send-email-pw@padd.com> To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Dec 25 03:10:56 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 1RedY3-000189-Vr for gcvg-git-2@lo.gmane.org; Sun, 25 Dec 2011 03:10:52 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758042Ab1LYCKo (ORCPT ); Sat, 24 Dec 2011 21:10:44 -0500 Received: from honk.padd.com ([74.3.171.149]:37315 "EHLO honk.padd.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755440Ab1LYCKn (ORCPT ); Sat, 24 Dec 2011 21:10:43 -0500 Received: from arf.padd.com (unknown [50.55.144.134]) by honk.padd.com (Postfix) with ESMTPSA id 4FE50339C; Sat, 24 Dec 2011 18:10:41 -0800 (PST) Received: by arf.padd.com (Postfix, from userid 7770) id F3F92315E5; Sat, 24 Dec 2011 21:10:20 -0500 (EST) X-Mailer: git-send-email 1.7.8.1.398.gf9d11 In-Reply-To: <1324778860-4821-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-git-p4-options.sh | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/t/t9806-git-p4-options.sh b/t/t9806-git-p4-options.sh index 6770326..cc0fd26 100755 --- a/t/t9806-git-p4-options.sh +++ b/t/t9806-git-p4-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.534.g03ab.dirty