[patch]: testsuite: run bash instead of sh when using brace expansion

Tom Tromey tromey@redhat.com
Wed May 15 14:55:00 GMT 2013


>>>>> ">" == 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



More information about the Gdb mailing list