The first test failure, csplit-io-err, seems to be a simple error
message format change.

The third test failure, sort-debug-warn, seems to be sensitive to
locales.  I am not sure the best way to fix this.

Best,
--arw

-- 
A. Wilcox (awilfox)
Project Lead, Adélie Linux
http://adelielinux.org
================================================
   GNU coreutils 8.27: ./tests/test-suite.log
================================================

# TOTAL: 592
# PASS:  453
# SKIP:  136
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/misc/csplit-io-err
==============================

++ initial_cwd_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/src/aports/main/coreutils/src/coreutils-8.27 gt-csplit-io-err.sh.XXXX
+++ case $# in
+++ destdir_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ template_=gt-csplit-io-err.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/usr/src/aports/main/coreutils/src/coreutils-8.27/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
+++ case $d in
+++ :
+++ test -d /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
++++ ls -dgo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
+++ perms='drwx--S--- 2 4096 Aug 11 18:43 /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5'
+++ case $perms in
+++ :
+++ echo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
+++ return
++ test_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
++ cd /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
++ 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
+ abs_path_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $abs_path_dir_ in
+ PATH=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src:/usr/src/aports/main/coreutils/src/coreutils-8.27/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin
+ create_exe_shims_ /usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ csplit
+ require_built_ csplit
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env csplit --version
csplit (GNU coreutils) 8.27
Packaged by Adélie
Copyright (C) 2017 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 Stuart Kemp and David MacKenzie.
+ require_gcc_shared_
+ gcc_shared_ - d.so -xc
+ local in=-
+ local out=d.so
+ shift 2
+ gcc -Wall -shared --std=gnu99 -fPIC -O2 -xc - -o d.so -ldl
+ rm -f d.so
+ test -w /dev/full
+ test -c /dev/full
+ LC_ALL=C
+ export LC_ALL
+ cat
+ returns_ 1 seq 1
+ sed 's/seq: write error: //' msgt
+ printf %s 'csplit: write error for '\''xx01'\'': '
+ cat msg
+ gcc_shared_ k.c k.so
+ local in=k.c
+ local out=k.so
+ shift 2
+ gcc -Wall -shared --std=gnu99 -fPIC -O2 k.c -o k.so -ldl
+ export LD_PRELOAD=:./k.so
+ LD_PRELOAD=:./k.so
+ returns_ 1 csplit - 1 4
+ seq 10
0
+ test -e preloaded
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
--- exp	2017-08-11 18:43:48.292960030 +0000
+++ out	2017-08-11 18:43:48.339626571 +0000
@@ -1 +1 @@
-csplit: write error for 'xx01': seq: standard output: No space left on device
+csplit: write error for 'xx01': No space left on device
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /usr/src/aports/main/coreutils/src/coreutils-8.27
+ chmod -R u+rwx /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
+ rm -rf /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-csplit-io-err.sh.OPG5
+ exit 1
FAIL tests/misc/csplit-io-err.sh (exit status: 1)

FAIL: tests/misc/printf-surprise
================================

++ initial_cwd_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/src/aports/main/coreutils/src/coreutils-8.27 gt-printf-surprise.sh.XXXX
+++ case $# in
+++ destdir_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ template_=gt-printf-surprise.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/usr/src/aports/main/coreutils/src/coreutils-8.27/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
+++ case $d in
+++ :
+++ test -d /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
++++ ls -dgo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
+++ perms='drwx--S--- 2 4096 Aug 11 18:43 /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN'
+++ case $perms in
+++ :
+++ echo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
+++ return
++ test_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
++ cd /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
++ 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
+ abs_path_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $abs_path_dir_ in
+ PATH=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src:/usr/src/aports/main/coreutils/src/coreutils-8.27/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin
+ create_exe_shims_ /usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ printf
+ require_built_ printf
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env printf --version
printf (GNU coreutils) 8.27
Packaged by Adélie
Copyright (C) 2017 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 David MacKenzie.
++ get_min_ulimit_v_ env printf %20f 0
++ local v
++ local page_size
+++ getconf PAGESIZE
++ page_size=4096
++ page_size=4
+++ seq 5000 5000 50000
++ for v in '$( seq 5000 5000 50000 )'
++ ulimit_supported_ 5000 env printf %20f 0
++ local v
++ v=5000
++ shift
++ local prev_v
++ prev_v=5000
+++ seq 4000 -1000 1000
++ for v in '$( seq $(($prev_v-1000)) -1000 1000 )'
++ ulimit_supported_ 4000 env printf %20f 0
++ local v
++ v=4000
++ shift
++ prev_v=4000
++ for v in '$( seq $(($prev_v-1000)) -1000 1000 )'
++ ulimit_supported_ 3000 env printf %20f 0
++ local v
++ v=3000
++ shift
++ ret_v=4004
++ echo 4004
++ return 0
+ vm=4004
+ mkfifo_or_skip_ fifo
+ test 1 = 1
+ mkfifo fifo
+ export MALLOC_PERTURB_=0
+ MALLOC_PERTURB_=0
+ pid=2853
+ head -c 10 fifo
+ ulimit -v 4004
+ env printf %20000000f 0
+ exit=141
+ sed 's/cannot perform .*/write error/' err-msg
+ mv k err-msg
++ tr '\n' :
+ err_msg=
+ case $err_msg in
+ diagnostic=n
++ wc -c
+ n_out=10
+ case $n_out:$diagnostic:$exit in
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ kill 2853
+ test '' = yes
+ cd /usr/src/aports/main/coreutils/src/coreutils-8.27
+ chmod -R u+rwx /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
+ rm -rf /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-printf-surprise.sh.69xN
+ exit 1
FAIL tests/misc/printf-surprise.sh (exit status: 1)

FAIL: tests/misc/sort-debug-warn
================================

++ initial_cwd_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/src/aports/main/coreutils/src/coreutils-8.27 gt-sort-debug-warn.sh.XXXX
+++ case $# in
+++ destdir_=/usr/src/aports/main/coreutils/src/coreutils-8.27
+++ template_=gt-sort-debug-warn.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/usr/src/aports/main/coreutils/src/coreutils-8.27/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
+++ case $d in
+++ :
+++ test -d /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
++++ ls -dgo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
+++ perms='drwx--S--- 2 4096 Aug 11 18:43 /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw'
+++ case $perms in
+++ :
+++ echo /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
+++ return
++ test_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
++ cd /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
++ 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
+ abs_path_dir_=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $abs_path_dir_ in
+ PATH=/usr/src/aports/main/coreutils/src/coreutils-8.27/./src:/usr/src/aports/main/coreutils/src/coreutils-8.27/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin:/sbin
+ create_exe_shims_ /usr/src/aports/main/coreutils/src/coreutils-8.27/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ sort
+ require_built_ sort
+ skip_=no
+ for i in '"$@"'
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in '$*'
+ env sort --version
sort (GNU coreutils) 8.27
Packaged by Adélie
Copyright (C) 2017 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.
+ cat
+ echo 1
+ sort -s -k2,1 --debug /dev/null
+ echo 2
+ sort -s -k2,1n --debug /dev/null
+ echo 3
+ sort -s -k1,2n --debug /dev/null
+ echo 4
+ sort -s -rRVMhgb -k1,1n --debug /dev/null
+ echo 5
+ sort -rRVMhgb -k1,1n --debug /dev/null
+ echo 6
+ sort -r -k1,1n --debug /dev/null
+ echo 7
+ sort -gbr -k1,1n -k1,1r --debug /dev/null
+ echo 8
+ sort -b -k1b,1bn --debug /dev/null
+ echo 9
+ sort -b -k1,1bn --debug /dev/null
+ echo 10
+ sort -b -k1,1bn -k2b,2 --debug /dev/null
+ echo 11
+ sort -r -k1,1r --debug /dev/null
+ echo 12
+ sort -i -k1,1i --debug /dev/null
+ echo 13
+ sort -d -k1,1b --debug /dev/null
+ echo 14
+ sort -i -k1,1d --debug /dev/null
+ echo 15
+ sort -r --debug /dev/null
+ echo 16
+ sort -rM --debug /dev/null
+ echo 17
+ sort -rM -k1,1 --debug /dev/null
+ echo 18
+ LC_ALL=missing
+ sort --debug /dev/null
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
--- exp	2017-08-11 18:43:52.926280937 +0000
+++ out	2017-08-11 18:43:52.982947451 +0000
@@ -49,4 +49,4 @@
 17
 sort: using simple byte comparison
 18
-sort: failed to set locale; using simple byte comparison
+sort: using ‘missing’ sorting rules
+ fail=1
+ cat
+ sort --debug -rb -k2n +2.2 -1b /dev/null
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /usr/src/aports/main/coreutils/src/coreutils-8.27
+ chmod -R u+rwx /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
+ rm -rf /usr/src/aports/main/coreutils/src/coreutils-8.27/gt-sort-debug-warn.sh.Tpyw
+ exit 1
FAIL tests/misc/sort-debug-warn.sh (exit status: 1)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to