Re: GSoC 2016: Microproject
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Feb 22, 2016, 11:21 UTC
- Message-ID
- <CACsJy8B7m7PWY-RJ2pb3fAP6ZKz167Xzbby9Lo44gfDX9w7NPg@mail.gmail.com>
- In-Reply-To
- <CA+DCAeQADoW-r5ppDNXVBj0=16FXKi=3pedAzhRuCD9uDJz_YQ@mail.gmail.com>
On Mon, Feb 22, 2016 at 5:30 PM, Mehul Jain <mehul.jain2029@gmail.com> wrote:
Show 34 quoted lines
> 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
OK server is up but very likely misconfigured. If you have experience with http server before (I think this is apache), then you can dig in t/lib-httpd.sh, study how the server is configured and try to fix it.
Alternatively, you can smiply skip http tests by setting environment variable GIT_TEST_HTTPD to false before running the tests.
-- Duy