[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./init.sh: line 139: `test-acos': not a valid identifier
From: |
Eric Blake |
Subject: |
Re: ./init.sh: line 139: `test-acos': not a valid identifier |
Date: |
Thu, 18 Feb 2010 06:13:07 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
According to Jim Meyering on 2/18/2010 1:34 AM:
> Simon Josefsson wrote:
>> ./init.sh: line 139: `test-acos': not a valid identifier
>> FAIL: test-pread.sh
> That failure is because we cannot create a function name containing a "-"
> using that shell. This is another portability hurdle that we should
> be able to overcome with what Eric proposed: have init.sh reinvoke
> a better shell.
Another alternative would be changing all test scripts to use _ rather
than -, so as to avoid issues with requiring shell extensions. But I'm
not fond of that idea. On the other hand, it seems awkward that we are
basically requiring bash (and not POSIX) to run on any platform where
$EXEEXT is important (cygwin, mingw/wine, ...).
--
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
signature.asc
Description: OpenPGP digital signature
- ./init.sh: line 139: `test-acos': not a valid identifier, Simon Josefsson, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Jim Meyering, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier,
Eric Blake <=
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Jim Meyering, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Simon Josefsson, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Jim Meyering, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Simon Josefsson, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Eric Blake, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Eric Blake, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Ralf Wildenhues, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Jim Meyering, 2010/02/18
- Re: ./init.sh: line 139: `test-acos': not a valid identifier, Ralf Wildenhues, 2010/02/18