coreutils
[Top][All Lists]
Advanced

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

ls/stat-free-color test-failure on F15/xfs


From: Jim Meyering
Subject: ls/stat-free-color test-failure on F15/xfs
Date: Thu, 08 Sep 2011 18:28:51 +0200

Running tests one more time, but on a variety of file systems
(xfs, btrfs, ext3) in addition to the usual ext4, I noticed
a single failure:

  FAIL: ls/stat-free-color (exit: 1)
  ==================================

  ++ initial_cwd_=/t/m/xfs/tmp/coreutils-8.13/tests
  ++ fail=0
  +++ testdir_prefix_
  +++ printf gt
  ++ pfx_=gt
  +++ mktempd_ /t/m/xfs/tmp/coreutils-8.13/tests gt-stat-free-color.XXXX
  +++ case $# in
  +++ destdir_=/t/m/xfs/tmp/coreutils-8.13/tests
  +++ template_=gt-stat-free-color.XXXX
  +++ MAX_TRIES_=4
  +++ case $destdir_ in
  +++ case $template_ in
  ++++ unset TMPDIR
  ++++ mktemp -d -t -p /t/m/xfs/tmp/coreutils-8.13/tests gt-stat-free-color.XXXX
  +++ d=/t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  +++ case $d in
  +++ test -d /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  ++++ ls -dgo /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  ++++ tr S -
  +++ perms='drwx------. 2 6 -ep  8 17:53 
/t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5'
  +++ case $perms in
  +++ test 0 = 0
  +++ echo /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  +++ return
  ++ test_dir_=/t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  ++ cd /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  ++ 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 /t/m/xfs/tmp/coreutils-8.13/tests/../src
  ++ echo /t/m/xfs/tmp/coreutils-8.13/src
  + abs_path_dir_=/t/m/xfs/tmp/coreutils-8.13/src
  + case $abs_path_dir_ in
  + 
PATH=/t/m/xfs/tmp/coreutils-8.13/src:/t/m/xfs/tmp/coreutils-8.13/src:/p/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/games:/usr/local:/usr/local/bin
  + create_exe_shims_ /t/m/xfs/tmp/coreutils-8.13/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
  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 /t/m/xfs/tmp/coreutils-8.13/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 .
  color-without-stat
  dangle-1
  dangle-2
  dangle-3
  log
  log-help
  ++ wc -l
  + n_lines=7
  ++ expr 7 - 0
  + n_stat=7
  + case $n_stat in
  + fail=1
  + head -n30 log log-help
  ==> log <==
  stat(".", {st_mode=S_IFDIR|0700, st_size=101, ...}) = 0
  lstat("dangle-1", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  lstat("dangle-2", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  lstat("dangle-3", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  lstat("color-without-stat", {st_mode=S_IFREG|0600, st_size=210, ...}) = 0
  lstat("log-help", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  lstat("log", {st_mode=S_IFREG|0600, st_size=391, ...}) = 0

  ==> log-help <==
  + Exit 1
  + set +e
  + exit 1
  + exit 1
  + remove_tmp_
  + __st=1
  + cleanup_
  + :
  + cd /t/m/xfs/tmp/coreutils-8.13/tests
  + chmod -R u+rwx /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  + rm -rf /t/m/xfs/tmp/coreutils-8.13/tests/gt-stat-free-color.JEo5
  + exit 1

That means the script d_type-check somehow passed (exit 0)
because it found a d_type value of 4, when in fact d_type is
always 0 on an xfs file system.

Just a heads up.
This won't delay the release.



reply via email to

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