From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17440 invoked by alias); 29 Jul 2008 15:42:37 -0000 Received: (qmail 17430 invoked by uid 22791); 29 Jul 2008 15:42:36 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Jul 2008 15:42:10 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id m6TFdG4W000975; Tue, 29 Jul 2008 17:39:16 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id m6TFdFAd007825; Tue, 29 Jul 2008 17:39:15 +0200 (CEST) Date: Tue, 29 Jul 2008 15:43:00 -0000 Message-Id: <200807291539.m6TFdFAd007825@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: pedro@codesourcery.com CC: gdb@sourceware.org, brobecker@adacore.com In-reply-to: <200807291558.22228.pedro@codesourcery.com> (message from Pedro Alves on Tue, 29 Jul 2008 15:58:21 +0100) Subject: Re: Help with solaris testing References: <200807291558.22228.pedro@codesourcery.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00295.txt.bz2 > From: Pedro Alves > 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?