===========================================================
   GNU coreutils 8.23.245-8bf2af: ./tests/test-suite.log
===========================================================

# TOTAL: 2
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/split/filter
========================

++ initial_cwd_=/home/miles/coreutils-8.23.245-8bf2af
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/miles/coreutils-8.23.245-8bf2af gt-filter.sh.XXXX
+++ case $# in
+++ destdir_=/home/miles/coreutils-8.23.245-8bf2af
+++ template_=gt-filter.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
+++ case $d in
+++ test -d /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
++++ ls -dgo /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
++++ tr S -
+++ perms='drwx------ 2 4096 Jul  1 18:49 /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
+++ return
++ test_dir_=/home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
++ cd /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
++ 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_=/home/miles/coreutils-8.23.245-8bf2af/./src
+ case $abs_path_dir_ in
+ PATH=/home/miles/coreutils-8.23.245-8bf2af/./src:/home/miles/coreutils-8.23.245-8bf2af/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /home/miles/coreutils-8.23.245-8bf2af/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ split
+ test yes = yes
+ local i
+ for i in '$*'
+ env split --version
split (GNU coreutils) 8.23.245-8bf2af
Copyright (C) 2015 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 Torbjorn Granlund and Richard M. Stallman.
+ xz --version
xz (XZ Utils) 5.1.0alpha
liblzma 5.1.0alpha
+ for total_n_lines in 5 3000 20000
+ seq 5
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ split -l2 '--filter=xz -1 > $FILE.xz' in out-
+ xz -dc out-aa.xz out-ab.xz out-ac.xz
+ compare in out
+ compare_dev_null_ in out
+ test 2 = 2
+ test xin = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ in out
+ diff -u in out
+ rm -f out out-aa.xz out-ab.xz out-ac.xz
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ rm -f in
+ for total_n_lines in 5 3000 20000
+ seq 3000
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ rm -f in
+ for total_n_lines in 5 3000 20000
+ seq 20000
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ for i in 2 51 598
+ case $i:$total_n_lines in
+ continue
+ rm -f in
+ split -e -n 10 '--filter=xz > $FILE.xz' /dev/null
+ stat 'x??'
+ returns_ 1 split -n 1/2 --filter=true /dev/null
split: --filter does not process a chunk extracted to stdout
Try 'split --help' for more information.
+ yes
+ head -n200K
+ split -b1G '--filter=head -c1 >/dev/null'
+ timeout 10 yes
+ split '--filter=head -c1 >/dev/null' -n r/1
+ timeout 10 split '--filter=head -c1 >/dev/null' -n 1 /dev/zero
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/miles/coreutils-8.23.245-8bf2af
+ chmod -R u+rwx /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
+ rm -rf /home/miles/coreutils-8.23.245-8bf2af/gt-filter.sh.mrOX
+ exit 1
FAIL tests/split/filter.sh (exit status: 1)

FAIL: tests/misc/nice
=====================

++ initial_cwd_=/home/miles/coreutils-8.23.245-8bf2af
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/miles/coreutils-8.23.245-8bf2af gt-nice.sh.XXXX
+++ case $# in
+++ destdir_=/home/miles/coreutils-8.23.245-8bf2af
+++ template_=gt-nice.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
+++ case $d in
+++ test -d /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
++++ ls -dgo /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
++++ tr S -
+++ perms='drwx------ 2 4096 Jul  1 18:49 /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
+++ return
++ test_dir_=/home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
++ cd /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
++ 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_=/home/miles/coreutils-8.23.245-8bf2af/./src
+ case $abs_path_dir_ in
+ PATH=/home/miles/coreutils-8.23.245-8bf2af/./src:/home/miles/coreutils-8.23.245-8bf2af/src:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
+ create_exe_shims_ /home/miles/coreutils-8.23.245-8bf2af/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ nice
+ test yes = yes
+ local i
+ for i in '$*'
+ env nice --version
nice (GNU coreutils) 8.23.245-8bf2af
Copyright (C) 2015 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.
+ tests='
0 empty 10
1 -1 1
2 -12 12
3 -1:-2 2
4 -n:1 1
5 -n:1:-2 2
6 -n:1:-+12 12
7 -2:-n:1 1
8 -2:-n:12 12
9 -+1 1
10 -+12 12
11 -+1:-+12 12
12 -n:+1 1
13 --1:-2 2
14 --1:-2:-13 13
15 --1:-n:2 2
16 --1:-n:2:-3 3
17 --1:-n:2:-13 13
18 -n:-1:-12 12
19 --1:-12 12
NA LAST NA
'
+ set 0 empty 10 1 -1 1 2 -12 12 3 -1:-2 2 4 -n:1 1 5 -n:1:-2 2 6 -n:1:-+12 12 7 -2:-n:1 1 8 -2:-n:12 12 9 -+1 1 10 -+12 12 11 -+1:-+12 12 12 -n:+1 1 13 --1:-2 2 14 --1:-2:-13 13 15 --1:-n:2 2 16 --1:-n:2:-3 3 17 --1:-n:2:-13 13 18 -n:-1:-12 12 19 --1:-12 12 NA LAST NA
++ nice
+ niceness=0
+ test 0 = 0
+ : ok
+ :
+ test_name=0
+ args=empty
+ expected_result=10
+ test empty = empty
+ args=
+ test x = xLAST
++ echo x
++ tr : ' '
++ sed 's/^x//'
+ args=
+ test yes = yes
+ echo 'test 0... '
+ tr -d '\n'
test 0... ++ nice nice
+ test x10 = x10
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=1
+ args=-1
+ expected_result=1
+ test -1 = empty
+ test x-1 = xLAST
++ echo x-1
++ tr : ' '
++ sed 's/^x//'
+ args=-1
+ test yes = yes
+ echo 'test 1... '
+ tr -d '\n'
test 1... ++ nice -1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=2
+ args=-12
+ expected_result=12
+ test -12 = empty
+ test x-12 = xLAST
++ echo x-12
++ tr : ' '
++ sed 's/^x//'
+ args=-12
+ test yes = yes
+ echo 'test 2... '
+ tr -d '\n'
test 2... ++ nice -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=3
+ args=-1:-2
+ expected_result=2
+ test -1:-2 = empty
+ test x-1:-2 = xLAST
++ echo x-1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='-1 -2'
+ test yes = yes
+ echo 'test 3... '
+ tr -d '\n'
test 3... ++ nice -1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=4
+ args=-n:1
+ expected_result=1
+ test -n:1 = empty
+ test x-n:1 = xLAST
++ echo x-n:1
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1'
+ test yes = yes
+ echo 'test 4... '
+ tr -d '\n'
test 4... ++ nice -n 1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=5
+ args=-n:1:-2
+ expected_result=2
+ test -n:1:-2 = empty
+ test x-n:1:-2 = xLAST
++ echo x-n:1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1 -2'
+ test yes = yes
+ echo 'test 5... '
+ tr -d '\n'
test 5... ++ nice -n 1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=6
+ args=-n:1:-+12
+ expected_result=12
+ test -n:1:-+12 = empty
+ test x-n:1:-+12 = xLAST
++ echo x-n:1:-+12
++ tr : ' '
++ sed 's/^x//'
+ args='-n 1 -+12'
+ test yes = yes
+ echo 'test 6... '
+ tr -d '\n'
test 6... ++ nice -n 1 -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=7
+ args=-2:-n:1
+ expected_result=1
+ test -2:-n:1 = empty
+ test x-2:-n:1 = xLAST
++ echo x-2:-n:1
++ tr : ' '
++ sed 's/^x//'
+ args='-2 -n 1'
+ test yes = yes
+ echo 'test 7... '
+ tr -d '\n'
test 7... ++ nice -2 -n 1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=8
+ args=-2:-n:12
+ expected_result=12
+ test -2:-n:12 = empty
+ test x-2:-n:12 = xLAST
++ echo x-2:-n:12
++ tr : ' '
++ sed 's/^x//'
+ args='-2 -n 12'
+ test yes = yes
+ echo 'test 8... '
+ tr -d '\n'
test 8... ++ nice -2 -n 12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=9
+ args=-+1
+ expected_result=1
+ test -+1 = empty
+ test x-+1 = xLAST
++ echo x-+1
++ tr : ' '
++ sed 's/^x//'
+ args=-+1
+ test yes = yes
+ echo 'test 9... '
+ tr -d '\n'
test 9... ++ nice -+1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=10
+ args=-+12
+ expected_result=12
+ test -+12 = empty
+ test x-+12 = xLAST
++ echo x-+12
++ tr : ' '
++ sed 's/^x//'
+ args=-+12
+ test yes = yes
+ echo 'test 10... '
+ tr -d '\n'
test 10... ++ nice -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=11
+ args=-+1:-+12
+ expected_result=12
+ test -+1:-+12 = empty
+ test x-+1:-+12 = xLAST
++ echo x-+1:-+12
++ tr : ' '
++ sed 's/^x//'
+ args='-+1 -+12'
+ test yes = yes
+ echo 'test 11... '
+ tr -d '\n'
test 11... ++ nice -+1 -+12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=12
+ args=-n:+1
+ expected_result=1
+ test -n:+1 = empty
+ test x-n:+1 = xLAST
++ echo x-n:+1
++ tr : ' '
++ sed 's/^x//'
+ args='-n +1'
+ test yes = yes
+ echo 'test 12... '
+ tr -d '\n'
test 12... ++ nice -n +1 nice
+ test x1 = x1
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=13
+ args=--1:-2
+ expected_result=2
+ test --1:-2 = empty
+ test x--1:-2 = xLAST
++ echo x--1:-2
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -2'
+ test yes = yes
+ echo 'test 13... '
+ tr -d '\n'
test 13... ++ nice --1 -2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=14
+ args=--1:-2:-13
+ expected_result=13
+ test --1:-2:-13 = empty
+ test x--1:-2:-13 = xLAST
++ echo x--1:-2:-13
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -2 -13'
+ test yes = yes
+ echo 'test 14... '
+ tr -d '\n'
test 14... ++ nice --1 -2 -13 nice
+ test x13 = x13
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=15
+ args=--1:-n:2
+ expected_result=2
+ test --1:-n:2 = empty
+ test x--1:-n:2 = xLAST
++ echo x--1:-n:2
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2'
+ test yes = yes
+ echo 'test 15... '
+ tr -d '\n'
test 15... ++ nice --1 -n 2 nice
+ test x2 = x2
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=16
+ args=--1:-n:2:-3
+ expected_result=3
+ test --1:-n:2:-3 = empty
+ test x--1:-n:2:-3 = xLAST
++ echo x--1:-n:2:-3
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2 -3'
+ test yes = yes
+ echo 'test 16... '
+ tr -d '\n'
test 16... ++ nice --1 -n 2 -3 nice
+ test x3 = x3
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=17
+ args=--1:-n:2:-13
+ expected_result=13
+ test --1:-n:2:-13 = empty
+ test x--1:-n:2:-13 = xLAST
++ echo x--1:-n:2:-13
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -n 2 -13'
+ test yes = yes
+ echo 'test 17... '
+ tr -d '\n'
test 17... ++ nice --1 -n 2 -13 nice
+ test x13 = x13
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=18
+ args=-n:-1:-12
+ expected_result=12
+ test -n:-1:-12 = empty
+ test x-n:-1:-12 = xLAST
++ echo x-n:-1:-12
++ tr : ' '
++ sed 's/^x//'
+ args='-n -1 -12'
+ test yes = yes
+ echo 'test 18... '
+ tr -d '\n'
test 18... ++ nice -n -1 -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=19
+ args=--1:-12
+ expected_result=12
+ test --1:-12 = empty
+ test x--1:-12 = xLAST
++ echo x--1:-12
++ tr : ' '
++ sed 's/^x//'
+ args='--1 -12'
+ test yes = yes
+ echo 'test 19... '
+ tr -d '\n'
test 19... ++ nice --1 -12 nice
+ test x12 = x12
+ ok=ok
+ test yes = yes
+ echo ok
ok
+ shift
+ shift
+ shift
+ :
+ test_name=NA
+ args=LAST
+ expected_result=NA
+ test LAST = empty
+ test xLAST = xLAST
+ break
++ nice -n -1 nice
+ test x-1 = x0
+ nice -n -1 nice
-1
+ compare /dev/null err
+ compare_dev_null_ /dev/null err
+ test 2 = 2
+ test x/dev/null = x/dev/null
+ test -s err
+ emit_diff_u_header_ /dev/null err
+ printf '%s\n' 'diff -u /dev/null err' '--- /dev/null	1970-01-01' '+++ err	1970-01-01'
diff -u /dev/null err
--- /dev/null	1970-01-01
+++ err	1970-01-01
+ sed 's/^/+/' err
+nice: cannot set niceness: Permission denied
+ return 1
+ case $? in
+ return 1
+ fail=1
++ nice -n -1 nice
nice: cannot set niceness: Permission denied
+ test x-1 = x-1
++ nice --1 nice
nice: cannot set niceness: Permission denied
+ test x-1 = x-1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/miles/coreutils-8.23.245-8bf2af
+ chmod -R u+rwx /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
+ rm -rf /home/miles/coreutils-8.23.245-8bf2af/gt-nice.sh.spt1
+ exit 1
FAIL tests/misc/nice.sh (exit status: 1)

