diff options
author | Pete Wyckoff <pw@padd.com> | 2011-12-25 03:07:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-27 19:19:30 +0100 |
commit | 7fbe1ce9e2050f1d3f64868abcbc0d0794af3d13 (patch) | |
tree | 526e10122c42ec7bb746750eee0b70742bff55f3 /t | |
parent | git-p4: document and test --import-local (diff) | |
download | git-7fbe1ce9e2050f1d3f64868abcbc0d0794af3d13.tar.xz git-7fbe1ce9e2050f1d3f64868abcbc0d0794af3d13.zip |
git-p4: test --max-changes
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | 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 67703267be..cc0fd26d36 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 ' |