This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: testsuite: fix ksh shebang to use sh
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: tromey at redhat dot com
- Cc: palves at redhat dot com, vapier at gentoo dot org, gdb-patches at sourceware dot org
- Date: Thu, 5 Dec 2013 20:48:12 +0100 (CET)
- Subject: Re: [PATCH] gdb: testsuite: fix ksh shebang to use sh
- Authentication-results: sourceware.org; auth=none
- References: <1386223663-1030-1-git-send-email-vapier at gentoo dot org> <52A09621 dot 7010806 at redhat dot com> <87k3fjnmpq dot fsf at fleche dot redhat dot com>
> From: Tom Tromey <tromey@redhat.com>
> Date: Thu, 05 Dec 2013 12:04:33 -0700
>
> >>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> A lot of this gdb.hp/ stuff is probably all rotten beyond
> Pedro> salvation, but that's another story.
>
> Yeah, it's never run by any regular developers since all the .exp files
> start:
>
> if { ![istarget "hppa*-*-hpux*"] } {
> verbose "HPUX test ignored for non-hppa targets."
> return 0
> }
And /bin/sh on HP-UX is pretty crappy. If you want anything
resembling a POSIX shell /bin/ksh was a much better choice.
I'd suggest to leave these test alone or remove them altogether.