Re: [patch]: testsuite: run bash instead of sh when using brace expansion
Tom Tromey <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> ">" == Christian Groessler <[email protected]> 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