Fabio D'Alfonso <[email protected]> writes:
> Hi,
> I am getting this in Ubuntu, something wrong with my env?
> Thanks
>
> root@HDUBVM01:~/builds/git/t# ./t5539-fetch-http-shallow.sh
> ok 1 - setup shallow clone
> not ok 2 - clone http repository
> #
> # git clone --bare --no-local shallow
> "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
> # git clone $HTTPD_URL/smart/repo.git clone &&
> # (
> # cd clone &&
> # git fsck &&
> # git log --format=%s origin/master >actual &&
> # cat <<EOF >expect &&
> # 7
> # 6
> # 5
> # 4
> # 3
> # EOF
> # test_cmp expect actual
> # )
Does not reproduce for me but I am on Ubuntu 12.04.2 LTS, so...
Running it with the -v option might give you more hints, and
running it as
$ sh -x ./t5539-fe* -v
might give you more to chew.
I do not think it is wise to run tests as root, though ;-)
> #
> not ok 3 - no shallow lines after receiving ACK ready
> #
> # (
> # cd shallow &&
> # for i in $(test_seq 15)
> # do
> # git checkout --orphan unrelated$i &&
> # test_commit unrelated$i &&
> # git push -q "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" \
> # refs/heads/unrelated$i:refs/heads/unrelated$i &&
> # git push -q ../clone/.git \
> # refs/heads/unrelated$i:refs/heads/unrelated$i ||
> # exit 1
> # done &&
> # git checkout master &&
> # test_commit new &&
> # git push "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" master
> # ) &&
> # (
> # cd clone &&
> # git checkout --orphan newnew &&
> # test_commit new-too &&
> # GIT_TRACE_PACKET="$TRASH_DIRECTORY/trace" git fetch
> --depth=2 &&
> # grep "fetch-pack< ACK .* ready" ../trace &&
> # ! grep "fetch-pack> done" ../trace
> # )
> #
> httpd (pid 10653?) not running
> # failed 2 among 3 test(s)
> 1..3
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html