This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [patch]: testsuite: run bash instead of sh when using brace expansion
- From: Tom Tromey <tromey at redhat dot com>
- To: Christian Groessler <chris at groessler dot org>
- Cc: gdb at sourceware dot org
- Date: Wed, 15 May 2013 08:55:05 -0600
- Subject: Re: [patch]: testsuite: run bash instead of sh when using brace expansion
- References: <51936596 dot 8010205 at groessler dot org>
>>>>> ">" == Christian Groessler <chris@groessler.org> writes:
>> I had some testsuite failures in gdb.dwarf2/dw2-dir-file-name.exp,
>> because /bin/sh on my system doesn't support brace expansion.
>> I'm using Debian, where /bin/sh is in fact dash. I tried /bin/sh on
>> Solaris (9), too, and it also doesn't support brace expansion.
>> This patch changes dw2-dir-file-name.exp to use bash instead of sh.
>> Ok to commit?
I think it would be better to rewrite this code to compute the list of
filenames in Tcl, then just send a simple command. It seems to me that
one can't rely on bash existing on the remote system.
Tom