coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] * tests/misc/sort-continue: Port to Fedora 15.


From: Paul Eggert
Subject: Re: [PATCH] * tests/misc/sort-continue: Port to Fedora 15.
Date: Sun, 13 Nov 2011 18:29:10 -0800
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 11/13/11 00:35, Jim Meyering wrote:
> Oh!  I thought you meant the test was actually failing.
> I have confirmed that even with bash from F16 (and without
> your patch), that diagnostic does appear in the log.

Weird.  For me, that diagnostic actually leads to a test failure;
more detailed log enclosed below.  (Again, this is without the
recent patch I made to misc/sort-continue.)  But now that I
see it, I see that the test failure is something later, also
due to the same problem I expect.

It is a bit odd that you don't observe that on Fedora 16,
and didn't observe it earlier on Fedora 15.  Maybe there's
something else different about our setups?

It's low priority, since we have a workaround for
coreutils now.


$ make check TESTS=misc/sort-continue
  GEN    public-submodule-commit
make  check-recursive
make[1]: Entering directory `/home/eggert/src/gnu/cu-gnulib'
Making check in lib
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/lib'
make  check-recursive
make[3]: Entering directory `/home/eggert/src/gnu/cu-gnulib/lib'
make[4]: Entering directory `/home/eggert/src/gnu/cu-gnulib/lib'
make[4]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/lib'
make[3]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/lib'
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/lib'
Making check in src
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/src'
  GEN    check-README
  GEN    check-duplicate-no-install
make  check-am
make[3]: Entering directory `/home/eggert/src/gnu/cu-gnulib/src'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/src'
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/src'
Making check in doc
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/doc'
  GEN    sc-avoid-builtin
  GEN    sc-avoid-io
  GEN    sc-avoid-non-zero
  GEN    sc-avoid-path
  GEN    sc-avoid-timezone
  GEN    sc-avoid-zeroes
  GEN    sc-exponent-grouping
  GEN    sc-lower-case-var
  GEN    sc-use-small-caps-NUL
  GEN    check-texinfo
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/doc'
Making check in man
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/man'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/man'
Making check in po
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/po'
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/po'
Making check in tests
make[2]: Entering directory `/home/eggert/src/gnu/cu-gnulib/tests'
make  check-TESTS
make[3]: Entering directory `/home/eggert/src/gnu/cu-gnulib/tests'
make[4]: Entering directory `/home/eggert/src/gnu/cu-gnulib/tests'
FAIL: misc/sort-continue
========================================================
   GNU coreutils 8.14.34-1d9fe5: tests/test-suite.log   
========================================================

1 of 1 test failed.  

.. contents:: :depth: 2


FAIL: misc/sort-continue (exit: 1)
==================================

++ initial_cwd_=/home/eggert/src/gnu/cu-gnulib/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/eggert/src/gnu/cu-gnulib/tests gt-sort-continue.XXXX
+++ case $# in
+++ destdir_=/home/eggert/src/gnu/cu-gnulib/tests
+++ template_=gt-sort-continue.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /home/eggert/src/gnu/cu-gnulib/tests gt-sort-continue.XXXX
+++ d=/home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
+++ case $d in
+++ test -d /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
++++ ls -dgo /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
++++ tr S -
+++ perms='drwx------. 2 4096 Nov 13 18:24 
/home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.G-Ra'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
+++ return
++ test_dir_=/home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
++ cd /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
++ 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/eggert/src/gnu/cu-gnulib/tests/../src
++ echo /home/eggert/src/gnu/cu-gnulib/src
+ abs_path_dir_=/home/eggert/src/gnu/cu-gnulib/src
+ case $abs_path_dir_ in
+ 
PATH=/home/eggert/src/gnu/cu-gnulib/src:/home/eggert/src/gnu/cu-gnulib/src:/home/eggert/bin:/home/eggert/opt/Linux-x86_64/merged/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+ create_exe_shims_ /home/eggert/src/gnu/cu-gnulib/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ sort
+ test yes = yes
+ local i
+ for i in '$*'
+ env sort --version
sort (GNU coreutils) 8.14.34-1d9fe5
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 Haertel and Paul Eggert.
+ ulimit -n 6
+ sort
++ seq 31
+ for i in '$(seq 31)'
+ echo 1
+ tee -a in
+ for i in '$(seq 31)'
+ echo 2
+ tee -a in
+ for i in '$(seq 31)'
+ echo 3
+ tee -a in
+ for i in '$(seq 31)'
+ echo 4
+ tee -a in
+ for i in '$(seq 31)'
+ echo 5
+ tee -a in
+ for i in '$(seq 31)'
+ echo 6
+ tee -a in
+ for i in '$(seq 31)'
+ echo 7
+ tee -a in
+ for i in '$(seq 31)'
+ echo 8
+ tee -a in
+ for i in '$(seq 31)'
+ echo 9
+ tee -a in
+ for i in '$(seq 31)'
+ echo 10
+ tee -a in
+ for i in '$(seq 31)'
+ echo 11
+ tee -a in
+ for i in '$(seq 31)'
+ echo 12
+ tee -a in
+ for i in '$(seq 31)'
+ echo 13
+ tee -a in
+ for i in '$(seq 31)'
+ echo 14
+ tee -a in
+ for i in '$(seq 31)'
+ echo 15
+ tee -a in
+ for i in '$(seq 31)'
+ echo 16
+ tee -a in
+ for i in '$(seq 31)'
+ echo 17
+ tee -a in
+ for i in '$(seq 31)'
+ echo 18
+ tee -a in
+ for i in '$(seq 31)'
+ echo 19
+ tee -a in
+ for i in '$(seq 31)'
+ echo 20
+ tee -a in
+ for i in '$(seq 31)'
+ echo 21
+ tee -a in
+ for i in '$(seq 31)'
+ echo 22
+ tee -a in
+ for i in '$(seq 31)'
+ echo 23
+ tee -a in
+ for i in '$(seq 31)'
+ echo 24
+ tee -a in
+ for i in '$(seq 31)'
+ echo 25
+ tee -a in
+ for i in '$(seq 31)'
+ echo 26
+ tee -a in
+ for i in '$(seq 31)'
+ echo 27
+ tee -a in
+ for i in '$(seq 31)'
+ echo 28
+ tee -a in
+ for i in '$(seq 31)'
+ echo 29
+ tee -a in
+ for i in '$(seq 31)'
+ echo 30
+ tee -a in
+ for i in '$(seq 31)'
+ echo 31
+ tee -a in
+ ulimit -n 6
+ exec
./misc/sort-continue: redirection error: cannot duplicate fd: Invalid argument
./misc/sort-continue: line 33: /dev/null: Invalid argument
+ sort -n -m __test.1 __test.10 __test.11 __test.12 __test.13 __test.14 
__test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 
__test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 
__test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 
__test.9
sort: open failed: __test.10: Too many open files
+ fail=1
+ echo 'file descriptor exhaustion not handled'
file descriptor exhaustion not handled
+ echo 32
+ tee -a in
+ ulimit -n 6
+ exec
./misc/sort-continue: redirection error: cannot duplicate fd: Invalid argument
./misc/sort-continue: line 42: 0: Invalid argument
+ sort -n -m __test.1 __test.10 __test.11 __test.12 __test.13 __test.14 
__test.15 __test.16 __test.17 __test.18 __test.19 __test.2 __test.20 __test.21 
__test.22 __test.23 __test.24 __test.25 __test.26 __test.27 __test.28 __test.29 
__test.3 __test.30 __test.31 __test.4 __test.5 __test.6 __test.7 __test.8 
__test.9 -
+ compare in out
+ diff -u in out
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/eggert/src/gnu/cu-gnulib/tests
+ chmod -R u+rwx /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
+ rm -rf /home/eggert/src/gnu/cu-gnulib/tests/gt-sort-continue.GSRa
+ exit 1
======================================
1 of 1 test failed
See tests/test-suite.log
Please report to address@hidden
======================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/tests'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/eggert/src/gnu/cu-gnulib/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/eggert/src/gnu/cu-gnulib'
make: *** [check] Error 2



reply via email to

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