[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47382: runtest doesn't work with Solaris 10 /bin/sh
From: |
Rainer Orth |
Subject: |
bug#47382: runtest doesn't work with Solaris 10 /bin/sh |
Date: |
Thu, 25 Mar 2021 11:33:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) |
When trying DejaGnu 1.6.3 rc1 on Solaris 10, it failed immediately with:
runtest: syntax error at line 43: `execpath=$' unexpected
The script hardcodes #!/bin/sh, but the Solaris 10 /bin/sh is
effectively the old Bourne Shell and doesn't support $().
There are several options, I believe:
* Substitute a shell that does (like /bin/ksh in the Solaris 10 case).
* Rework the script to avoid the construct.
* Give up in horror and declare Solaris 10 unsupported, preferably with
a decent error message at configure time.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
- bug#47382: runtest doesn't work with Solaris 10 /bin/sh,
Rainer Orth <=