retitle 524309 git-core: Test suite fails when run as root
severity 524309 minor
thank you

Hi Marc,

Marc Mutz wrote:

> * failed 4 among 5 test(s)
> make[3]: *** [t0004-unwritable.sh] Error 1
> make[3]: Leaving directory `/root/foo/git-core-1.6.2.3/t'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/foo/git-core-1.6.2.3/t'
> make[1]: *** [test] Error 2
> make[1]: Leaving directory `/root/foo/git-core-1.6.2.3'
> make: *** [build-arch-stamp] Error 2
> Build command 'cd git-core-1.6.2.3 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed

git's test suite fails when run as root, since it checks that git
properly errors out on encountering a repository it cannot access.

The relevant tests should probably be skipped when run as root, but it
is easy to work around the problem by building as an unprivileged
user.

Hope that helps,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to