coreutils
[Top][All Lists]
Advanced

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

Obscure test failures on DilOS (OpenSolaris-like) with 8.22.157-1b243


From: Assaf Gordon
Subject: Obscure test failures on DilOS (OpenSolaris-like) with 8.22.157-1b243
Date: Fri, 18 Jul 2014 20:03:01 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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

And the log looks like:
    $ cat tests/tail-2/inotify-hash-abuse.log
    ./tests/tail-2/inotify-hash-abuse.sh[19]: .[586]: .[30]: local: not found 
[No such file or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[19]: .[586]: .[35]: local: not found 
[No such file or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[19]: .[586]: .[36]: local: not found 
[No such file or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[19]: .[586]: .[37]: local: not found 
[No such file or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[620]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[621]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[622]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[625]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[626]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[627]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[629]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[631]: : cannot execute [Is a directory]
    expr: syntax error
    ./tests/tail-2/inotify-hash-abuse.sh[628]: test: argument expected
    ./tests/tail-2/inotify-hash-abuse.sh[620]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[621]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[622]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[625]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[626]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[627]: local: not found [No such file 
or directory]
    ./tests/tail-2/inotify-hash-abuse.sh[628]: test: argument expected
    x
    tail: '1' has been replaced;  following end of new file
    a

FYI,
 - Assaf



reply via email to

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