This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgo] Omit /bin in os_test.go
- From: Ian Lance Taylor <iant at google dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Mon, 07 Mar 2011 15:37:41 -0800
- Subject: Re: [libgo] Omit /bin in os_test.go
- References: <yddr5ajw5ie.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
> /bin is a directory on Solaris 2, which causes the libgo os test to
> fail:
>
> FAIL: os
> --- FAIL: os_test.TestChdirAndGetwd
> Getwd returned "/usr/bin" want "/bin"
>
> This patch fixes this by simply removing /bin. One could probably
> replace it by /sbin instead, which is a directory on every Unix I know.
Committed to master repository and gccgo repository.
Thanks.
Ian