coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obscure test failures on DilOS (OpenSolaris-like) with 8.22.157-1b24


From: Pádraig Brady
Subject: Re: Obscure test failures on DilOS (OpenSolaris-like) with 8.22.157-1b243
Date: Sat, 19 Jul 2014 01:18:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 07/19/2014 01:03 AM, Assaf Gordon wrote:
> Hello,
> 
> Few tests fail of version 8.22.157-1b243 (and I assume 8.23 now) fail on 
> DilOS version 1.3.5.16 .
> (DilOS is Illumos kernel (formally OpenSolaris) with Debian-like packaging 
> system: http://www.dilos.org/about-dilos ).
> 
> The failure is obscure enough so it's probably not worth fixing, just 
> documenting.
> 
> On this system,
> When building with GNU make (/usr/gnu/bin/make), make will use GNU Bash 
> (/usr/gnu/bin/sh) - and all goes well.
> 
> When building with native make (/usr/bin/make), it will use /bin/sh, which 
> seems a form of old AT&T sh:
>     $ /bin/sh --version
>     version         sh (AT&T Research) 93t+ 2010-03-05
> 
> This shell does not support the "local" keyword for variables, and so few 
> tests which have shell functions with the "local" keyword fail.
> 
> Example (on said system):
>     $ /usr/gnu/bin/sh -c 'test() { local i=1 ; echo $i ; } ; test'
>     1
> 
>     $ /bin/sh -c 'test() { local i=1 ; echo $i ; } ; test'
>     /bin/sh[1]: local: not found [No such file or directory]
> 
> ======
> 
> The following tests fail:
>     tests/tail-2/inotify-hash-abuse
>     tests/tail-2/F-vs-missing
>     tests/tail-2/F-vs-rename
>     tests/rm/dangling-symlink
>     tests/misc/cat-buf
>     tests/misc/stat-birthtime
>     tests/misc/stdbuf
>     tests/tail-2/wait
>     tests/tail-2/retry
>     tests/tail-2/symlink
>     tests/dd/no-allocate
>     tests/dd/reblock
>     tests/tail-2/flush-initial
>     tests/tail-2/pipe-f2

Interesting.

It's probably not worth handling such an old shell I think.
One can select just the shell for running tests like:

make SHELL=/usr/gnu/bin/sh check

thanks!
Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]