From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85269 invoked by alias); 14 Jan 2016 19:48:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 85251 invoked by uid 89); 14 Jan 2016 19:48:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=160114, Hx-languages-length:859, fantastic X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 14 Jan 2016 19:48:49 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id D21802C76E1; Thu, 14 Jan 2016 19:48:47 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0EJmkFV031836; Thu, 14 Jan 2016 14:48:47 -0500 Message-ID: <5697FB9E.3080906@redhat.com> Date: Thu, 14 Jan 2016 19:48:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Simon Marchi , dejagnu@gnu.org, gdb-patches Subject: Re: How to abort a test? References: <56958359.8070708@ericsson.com> <5697CC09.8010306@redhat.com> <5697D721.1000305@ericsson.com> <5697DABA.8010008@redhat.com> <5697FA6C.7060703@ericsson.com> In-Reply-To: <5697FA6C.7060703@ericsson.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2016-01/txt/msg00317.txt.bz2 On 01/14/2016 07:43 PM, Simon Marchi wrote: > On 16-01-14 12:28 PM, Pedro Alves wrote: > Hmm if I try to put a call to > > [remote_file target exists "/home/simark/nonexistent"] > > It always returns true somehow. When I dig, I find this error: > > {rsh to target failed for test -f /home/simark/nonexistent, rsh: Could not resolve hostname target: Name or service not known} > > At this point I think the target board is not set (we are currently parsing it), so we > probably can't do operations on it. Yeah, sounds like it. > > Anyway, the point is not to fix it for my particular case, but to make the general > testsuite more robust. I think I'll send a patch for Dejagnu for the "unresolved" > solution, and see what the maintainers think. If you're willing to do the leg work, that's fantastic, of course. -- Pedro Alves