This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ping: [patch 5/6] testsuite: Fix prelink-support.exp without prelink installed


> GDB testsuite does not force English, neither dejagnu.  But TCL seems to
> ignore locale:

That's more than good enough for me. Thanks!

> There is explicitly executed /usr/sbin/prelink because on some systems
> /usr/sbin is not in the default non-root $PATH.  This also fixes:

Good point.

> Do you suggest /usr/sbin/prelink existence check, $PATH search (with
> explicitly appended `/usr/sbin') or the current error message check?

I think it's fine to wait until we actually find a system where the
current approach is not working. So:

> gdb/testsuite/
> 2010-07-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 	    Joel Brobecker  <brobecker@adacore.com>
> 
> 	Cope with missing /usr/sbin/prelink.
> 	* lib/prelink-support.exp (prelink_no):
> 	<result == 1 && $output is "no such file or directory">: New.
> 	(prelink_yes): Likewise.  Return on failed prelink_no.

OK to commit.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]