This is the mail archive of the gdb@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: [patch]: testsuite: run bash instead of sh when using brace expansion


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


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