[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coreutils-8.13.29-43a9 on Linux/SPARC64
From: |
Bruno Haible |
Subject: |
coreutils-8.13.29-43a9 on Linux/SPARC64 |
Date: |
Sat, 8 Oct 2011 14:59:44 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; ) |
On Linux/SPARC in 64-bit mode:
FAIL: ls/stat-free-color
FAIL: ls/stat-free-symlinks
FAIL: mv/atomic
FAIL: mv/atomic2
FAIL: ls/stat-free-color (exit: 1)
==================================
++
initial_cwd_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-stat-free-color.XXXX
+++ case $# in
+++
destdir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+++ template_=gt-stat-free-color.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-stat-free-color.XXXX
+++
d=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
+++ case $d in
+++ test -d
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
++++ ls -dgo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
++++ tr S -
+++ perms='drwx------ 2 4096 Oct 8 11:22
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X'
+++ case $perms in
+++ test 0 = 0
+++ echo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
+++ return
++
test_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/../src
++ echo /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+
abs_path_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $abs_path_dir_ in
+
PATH=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
+ create_exe_shims_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ ls
+ test yes = yes
+ local i
+ for i in '$*'
+ env ls --version
ls (GNU coreutils) 8.13.29-43a9
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Richard M. Stallman and David MacKenzie.
+ require_strace_ stat
+ test 1 = 1
+ strace -V
+ strace -qe stat echo
+ require_dirent_d_type_
+ python
+ python
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/d_type-check
+ for i in 1 2 3
+ ln -s nowhere dangle-1
+ for i in 1 2 3
+ ln -s nowhere dangle-2
+ for i in 1 2 3
+ ln -s nowhere dangle-3
+ cat
++ dircolors -b color-without-stat
+ eval
'LS_COLORS='\''rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=00:su=00:sg=00:ca=00:tw=00:ow=00:st=00:ex=00:mh=00:'\'';'
export LS_COLORS
++
LS_COLORS='rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=00:su=00:sg=00:ca=00:tw=00:ow=00:st=00:ex=00:mh=00:'
++ export LS_COLORS
+ strace -o log-help -e stat,lstat,stat64,lstat64 ls --help
++ wc -l
+ n_lines_help=0
+ strace -o log -e stat,lstat,stat64,lstat64 ls --color=always .
++ wc -l
+ n_lines=0
++ expr 0 - 0
+ n_stat=0
+ case $n_stat in
+ fail=1
+ head -n30 log log-help
==> log <==
==> log-help <==
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+ chmod -R u+rwx
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
+ rm -rf
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-color.ma3X
+ exit 1
FAIL: ls/stat-free-symlinks (exit: 1)
=====================================
++
initial_cwd_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-stat-free-symlinks.XXXX
+++ case $# in
+++
destdir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+++ template_=gt-stat-free-symlinks.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-stat-free-symlinks.XXXX
+++
d=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
+++ case $d in
+++ test -d
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
++++ ls -dgo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
++++ tr S -
+++ perms='drwx------ 2 4096 Oct 8 11:22
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2'
+++ case $perms in
+++ test 0 = 0
+++ echo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
+++ return
++
test_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/../src
++ echo /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+
abs_path_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $abs_path_dir_ in
+
PATH=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
+ create_exe_shims_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ ls
+ test yes = yes
+ local i
+ for i in '$*'
+ env ls --version
ls (GNU coreutils) 8.13.29-43a9
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Richard M. Stallman and David MacKenzie.
+ require_strace_ stat
+ test 1 = 1
+ strace -V
+ strace -qe stat echo
+ touch x
+ chmod a+x x
+ ln -s x link-to-x
+ LS_COLORS='or=0:mi=0:ex=01;32:ln=01;35'
+ strace -qe stat ls -F --color=always x link-to-x
+ sed '/Process PID=/d' out.tmp
+ grep '^stat("x"' err
+ printf '\033[0m\033[01;35mlink-to-x\033[0m@\n'
+ printf '\033[01;32mx\033[0m*\n'
+ compare out exp
+ diff -u out exp
--- out 2011-10-08 11:22:25.000000000 +0200
+++ exp 2011-10-08 11:22:25.000000000 +0200
@@ -0,0 +1,2 @@
+[0m[01;35mlink-to-x[0m@
+[01;32mx[0m*
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+ chmod -R u+rwx
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
+ rm -rf
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-stat-free-symlinks.quI2
+ exit 1
FAIL: mv/atomic (exit: 1)
=========================
++
initial_cwd_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-atomic.XXXX
+++ case $# in
+++
destdir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+++ template_=gt-atomic.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-atomic.XXXX
+++
d=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
+++ case $d in
+++ test -d
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
++++ ls -dgo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
++++ tr S -
+++ perms='drwx------ 2 4096 Oct 8 11:22
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv'
+++ case $perms in
+++ test 0 = 0
+++ echo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
+++ return
++
test_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/../src
++ echo /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+
abs_path_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $abs_path_dir_ in
+
PATH=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
+ create_exe_shims_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ mv
+ test yes = yes
+ local i
+ for i in '$*'
+ env mv --version
mv (GNU coreutils) 8.13.29-43a9
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
+ require_strace_ unlink
+ test 1 = 1
+ strace -V
+ strace -qe unlink echo
+ ln -s t1 s1
+ ln -s t2 s2
+ strace -qe unlink mv -T s1 s2
+ /bin/grep -E 'unlink.*"s1"' out
+ ls -dl s1
+ fail=1
++ readlink s2
+ test t2 = t1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+ chmod -R u+rwx
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
+ rm -rf
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic.4luv
+ exit 1
FAIL: mv/atomic2 (exit: 1)
==========================
++
initial_cwd_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-atomic2.XXXX
+++ case $# in
+++
destdir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+++ template_=gt-atomic2.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
gt-atomic2.XXXX
+++
d=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
+++ case $d in
+++ test -d
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
++++ ls -dgo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
++++ tr S -
+++ perms='drwx------ 2 4096 Oct 8 11:22
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr'
+++ case $perms in
+++ test 0 = 0
+++ echo
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
+++ return
++
test_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/../src
++ echo /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+
abs_path_dir_=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $abs_path_dir_ in
+
PATH=/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
+ create_exe_shims_
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ mv
+ test yes = yes
+ local i
+ for i in '$*'
+ env mv --version
mv (GNU coreutils) 8.13.29-43a9
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker, David MacKenzie, and Jim Meyering.
+ require_strace_ unlink
+ test 1 = 1
+ strace -V
+ strace -qe unlink echo
+ touch a b
+ ln b b2
+ strace -qe unlink mv a b
+ /bin/grep -E 'unlink.*"b"' out
+ ls -dl a
+ fail=1
++ stat --printf=%h b
+ n_links=2
+ test 2 = 1
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests
+ chmod -R u+rwx
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
+ rm -rf
/home/haible/multibuild-1313/linuxsparc64/coreutils-8.13.29-43a9/tests/gt-atomic2.g4nr
+ exit 1
The problem is apparently the 'strace' program on this platform. It works
fine with 32-bit executables, but is unusable on 64-bit executables.
On a 32-bit executable:
$ strace /bin/ls --color=always .
execve("/bin/ls", ["/bin/ls", "--color=always", "."], [/* 16 vars */]) = 0
brk(0) = 0x36000
uname({sys="Linux", node="gcc54", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=48552, ...}) = 0
...
On a 64-bit executable:
$ strace ../src/ls --color=always .
execve("../src/ls", ["../src/ls", "--color=always", "."], [/* 16 vars */]) = 0
You can check against this situation by doing
strace -o log-help ls --help >/dev/null || fail=1
n_lines_help=$(wc -l < log-help)
if test $n_lines_help = 0 || test $n_lines_help = 1; then
... skip the test ...
fi
Bruno
--
In memoriam Engin Ceber <http://en.wikipedia.org/wiki/Engin_Ceber>