Re: mac test failure -- 2gb clone
- From
Michael Blume <blume.mike@gmail.com>
- Date
- Nov 12, 2014, 22:09 UTC
- Message-ID
- <CAO2U3Qjk+9QZXVrh+1qG_ozRstrcMSyiZjXFJY-YZcvcVBUp=g@mail.gmail.com>
- In-Reply-To
- <CAO2U3QjFCBqJ+_E-nyxGnm3GdwB1zJgK6d8SJ4QULQHY1D6bUw@mail.gmail.com>
Confirmed exists on master
On Wed, Nov 12, 2014 at 1:57 PM, Michael Blume <blume.mike@gmail.com> wrote:
Show 89 quoted lines
> This is in pu, haven't checked if it's also in master, this is the
> first time I've run this test
>
> $ GIT_TEST_CLONE_2GB=t ./t5705-clone-2gb.sh -v
> Initialized empty Git repository in
> /Users/michael.blume/workspace/git/t/trash
> directory.t5705-clone-2gb/.git/
> expecting success:
>
> git config pack.compression 0 &&
> git config pack.depth 0 &&
> blobsize=$((100*1024*1024)) &&
> blobcount=$((2*1024*1024*1024/$blobsize+1)) &&
> i=1 &&
> (while test $i -le $blobcount
> do
> printf "Generating blob $i/$blobcount\r" >&2 &&
> printf "blob\nmark :$i\ndata $blobsize\n" &&
> #test-genrandom $i $blobsize &&
> printf "%-${blobsize}s" $i &&
> echo "M 100644 :$i $i" >> commit
> i=$(($i+1)) ||
> echo $? > exit-status
> done &&
> echo "commit refs/heads/master" &&
> echo "author A U Thor <author@email.com> 123456789 +0000" &&
> echo "committer C O Mitter <committer@email.com> 123456789 +0000" &&
> echo "data 5" &&
> echo ">2gb" &&
> cat commit) |
> git fast-import --big-file-threshold=2 &&
> test ! -f exit-status
>
>
> git-fast-import statistics:
> ---------------------------------------------------------------------
> Alloc'd objects: 5000
> Total objects: 23 ( 0 duplicates )
> blobs : 21 ( 0 duplicates 0 deltas
> of 0 attempts)
> trees : 1 ( 0 duplicates 0 deltas
> of 0 attempts)
> commits: 1 ( 0 duplicates 0 deltas
> of 0 attempts)
> tags : 0 ( 0 duplicates 0 deltas
> of 0 attempts)
> Total branches: 1 ( 1 loads )
> marks: 1024 ( 21 unique )
> atoms: 21
> Memory total: 2344 KiB
> pools: 2110 KiB
> objects: 234 KiB
> ---------------------------------------------------------------------
> pack_report: getpagesize() = 4096
> pack_report: core.packedGitWindowSize = 1073741824
> pack_report: core.packedGitLimit = 8589934592
> pack_report: pack_used_ctr = 2
> pack_report: pack_mmap_calls = 1
> pack_report: pack_open_windows = 1 / 1
> pack_report: pack_mapped = 54863024 / 54863024
> ---------------------------------------------------------------------
>
> ok 1 - setup
>
> expecting success:
>
> git clone --bare --no-hardlinks . clone-bare
>
>
> Cloning into bare repository 'clone-bare'...
> done.
> ok 2 - clone - bare
>
> expecting success:
>
> git clone file://. clone-wt
>
>
> Cloning into 'clone-wt'...
> fatal: No path specified. See 'man git-pull' for valid url syntax
> not ok 3 - clone - with worktree, file:// protocol
> #
> #
> # git clone file://. clone-wt
> #
> #
>
> # failed 1 among 3 test(s)
> 1..3