Re: GSoC 2016: Microproject
- From
Mehul Jain <mehul.jain2029@gmail.com>
- Date
- Feb 22, 2016, 10:30 UTC
- Message-ID
- <CA+DCAeQADoW-r5ppDNXVBj0=16FXKi=3pedAzhRuCD9uDJz_YQ@mail.gmail.com>
- In-Reply-To
- <CACsJy8BKko=esR5Q3dsq=Z-pdX1EtocJr25tH4Fn+E-pOns=_Q@mail.gmail.com>
On Mon, Feb 22, 2016 at 3:50 PM, Duy Nguyen <pclouds@gmail.com> wrote:
> You may have an http server installed but not suitable for these > tests. Try running one test file alone with -v -i, e.g. > ./t5539-fetch-http-shallow.sh -v -i and post the output.
Here's the output :-
expecting success:
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
)Cloning into bare repository '/home/mj/git/t/trash directory.t5539-fetch-http-shallow/httpd/www/repo.git'... remote: Counting objects: 15, done. remote: Compressing objects: 100% (5/5), done. remote: Total 15 (delta 0), reused 15 (delta 0) Receiving objects: 100% (15/15), done. Checking connectivity... done. Cloning into 'clone'... fatal: unable to access 'http://127.0.0.1:5539/smart/repo.git/': The requested URL returned error: 403 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 # ) #