This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Help with solaris testing
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: pedro at codesourcery dot com
- Cc: gdb at sourceware dot org, brobecker at adacore dot com
- Date: Tue, 29 Jul 2008 17:39:15 +0200 (CEST)
- Subject: Re: Help with solaris testing
- References: <200807291558.22228.pedro@codesourcery.com>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 29 Jul 2008 15:58:21 +0100
>
> Hi guys!
>
> (Mark, Joel, CCing you, as you're the usual suspects when we
> talk about either BSD or (!linux && !windows) testing :-) )
>
> I wonder if you could give me a little help with this.
>
> I've setup a bunch of VMWare VMs (x86) to be able to test changes I'm
> making to BSD targets. I've got FreeBSD 6,7, OpenBSD 4.3, and
> OpenSolaris 10 all set up. I set up an NFS mount on the host,
> so all VMs share the same source tree. All cool, and great
> for easy testing. FreeBSD and OpenBSD are OK, but ...
>
> ... solaris is giving be the troubles.
>
> When running the testsuite under Solaris, I get a bunch of failures
> and they appear to be related to something translating "\r" -> "\r\n".
> The eols end up being "\r\r\n" instead of "\r\n", and a lot of test
> patterns don't expect that.
>
> How do people test under solaris? Is this perhaps a well known
> issue with an easy well known fix?
This is strange; I've tested GDB on Solaris in the past and never
encountered this problem.
What does stty -a say on the system? Could it be that one of ocrnl or
onlret is set?