============================================== GNU coreutils 8.10: tests/test-suite.log ============================================== 7 of 14 tests failed. (9 tests were not run). .. contents:: :depth: 2 SKIP: cp/cp-a-selinux (exit: 77) ================================ ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-cp-a-selinux.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-cp-a-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-cp-a-selinux.XXXX +++ d=/sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 ++++ ls -dgo /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 ++ cd /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + require_selinux_ + case `ls -Zd .` in ++ ls -Zd . + skip_test_ 'this system (or maybe just' 'the current file system) lacks SELinux support' + echo './cp/cp-a-selinux: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' + head -1 + echo './cp/cp-a-selinux: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' ./cp/cp-a-selinux: skipping test: this system (or maybe just the current file system) lacks SELinux support + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 + rm -rf /sources/coreutils-8.10/tests/gt-cp-a-selinux.uCP4 + exit 77 FAIL: cp/special-bits (exit: 1) =============================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-special-bits.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-special-bits.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-special-bits.XXXX +++ d=/sources/coreutils-8.10/tests/gt-special-bits.tb1j +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-special-bits.tb1j ++++ ls -dgo /sources/coreutils-8.10/tests/gt-special-bits.tb1j ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-special-bits.tb1j' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-special-bits.tb1j +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-special-bits.tb1j ++ cd /sources/coreutils-8.10/tests/gt-special-bits.tb1j ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + touch a b c + chmod u+sx,go= a + chmod u=rwx,g=sx,o= b + chmod a=r,ug+sx c + chown nobody . + chmod u=rwx,g=rx,o=rx . + cp -p a a2 ++ ls -l a + set _ -rws------ 1 root root 0 Mar 13 17:54 a + shift + p1=-rws------ ++ ls -l a2 + set _ -rws------ 1 root root 0 Mar 13 17:54 a2 + shift + p2=-rws------ + test -rws------ = -rws------ + cp -p b b2 ++ ls -l b + set _ -rwx--s--- 1 root root 0 Mar 13 17:54 b + shift + p1=-rwx--s--- ++ ls -l b2 + set _ -rwx--s--- 1 root root 0 Mar 13 17:54 b2 + shift + p2=-rwx--s--- + test -rwx--s--- = -rwx--s--- + setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin cp -p c c2 setuidgid: failed to run command `env': Permission denied + fail=1 ++ ls -l c + set _ -r-sr-sr-- 1 root root 0 Mar 13 17:54 c + shift + p1=-r-sr-sr-- ++ ls -l c2 ls: cannot access c2: No such file or directory + set _ + shift + p2= + test -r-sr-sr-- = ./cp/special-bits: line 48: test: -r-sr-sr--: unary operator expected + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-special-bits.tb1j + rm -rf /sources/coreutils-8.10/tests/gt-special-bits.tb1j + exit 1 SKIP: cp/cp-mv-enotsup-xattr (exit: 77) ======================================= ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-cp-mv-enotsup-xattr.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-cp-mv-enotsup-xattr.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-cp-mv-enotsup-xattr.XXXX +++ d=/sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq ++++ ls -dgo /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq ++ cd /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp mv + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, David MacKenzie, and Jim Meyering. + for i in '$*' + env mv --version mv (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 ++ pwd + cwd=/sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq + skip=0 + make_fs noxattr nouser_xattr + where=noxattr + opts=nouser_xattr + fs=noxattr.bin + dd if=/dev/zero of=noxattr.bin bs=8192 count=200 + mkdir noxattr + mkfs -t ext2 -F noxattr.bin mke2fs 1.41.14 (22-Dec-2010) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) Stride=0 blocks, Stripe width=0 blocks 200 inodes, 1600 blocks 80 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=1835008 1 block group 8192 blocks per group, 8192 fragments per group 200 inodes per group Writing inode tables: 0/1done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 20 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. + mount -oloop,nouser_xattr noxattr.bin noxattr + echo test + test -s noxattr/f + test 0 = 1 + make_fs xattr user_xattr + where=xattr + opts=user_xattr + fs=xattr.bin + dd if=/dev/zero of=xattr.bin bs=8192 count=200 + mkdir xattr + mkfs -t ext2 -F xattr.bin mke2fs 1.41.14 (22-Dec-2010) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) Stride=0 blocks, Stripe width=0 blocks 200 inodes, 1600 blocks 80 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=1835008 1 block group 8192 blocks per group, 8192 fragments per group 200 inodes per group Writing inode tables: 0/1done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 23 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. + mount -oloop,user_xattr xattr.bin xattr + echo test + test -s xattr/f + test 0 = 1 + xattr_name=user.foo + xattr_value=bar + xattr_pair='user.foo="bar"' + echo test + getfattr -d xattr/a ./cp/cp-mv-enotsup-xattr: line 60: getfattr: command not found + skip_test_ 'failed to get xattr of file' + echo './cp/cp-mv-enotsup-xattr: skipping test: failed to get xattr of file' + head -1 + echo './cp/cp-mv-enotsup-xattr: skipping test: failed to get xattr of file' ./cp/cp-mv-enotsup-xattr: skipping test: failed to get xattr of file + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq/noxattr + umount /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq/xattr + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq + rm -rf /sources/coreutils-8.10/tests/gt-cp-mv-enotsup-xattr.JKjq + exit 77 SKIP: cp/capability (exit: 77) ============================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-capability.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-capability.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-capability.XXXX +++ d=/sources/coreutils-8.10/tests/gt-capability.0eRM +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-capability.0eRM ++++ ls -dgo /sources/coreutils-8.10/tests/gt-capability.0eRM ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-capability.0eRM' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-capability.0eRM +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-capability.0eRM ++ cd /sources/coreutils-8.10/tests/gt-capability.0eRM ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/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.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + working_umask_or_skip_ + umask 022 + touch file1 file2 + chmod 644 file2 ++ ls -l file1 file2 ++ sed 's/ .*//' ++ uniq + perms=-rw-r--r-- + rm -f file1 file2 + case $perms in + grep '^#define HAVE_CAP 1' /sources/coreutils-8.10/lib/config.h + skip_test_ 'configured without libcap support' + echo './cp/capability: skipping test: configured without libcap support' + head -1 + echo './cp/capability: skipping test: configured without libcap support' ./cp/capability: skipping test: configured without libcap support + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-capability.0eRM + rm -rf /sources/coreutils-8.10/tests/gt-capability.0eRM + exit 77 FAIL: cp/sparse-fiemap (exit: 1) ================================ ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-sparse-fiemap.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-sparse-fiemap.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-sparse-fiemap.XXXX +++ d=/sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc ++++ ls -dgo /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc ++ cd /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, David MacKenzie, and Jim Meyering. + fiemap_capable_ . + df -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 . df: Warning: cannot read table of mounted file systems Filesystem Type 1K-blocks Used Available Use% Mounted on - - 3842376 1199096 2448092 33% / + : + perl -e 1 ++ seq 1 2 21 + for i in '$(seq 1 2 21)' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 1 * 1024; *F = *STDOUT }' -e 'for (1..1) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 1 extent found + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 1 * 1024; *F = *STDOUT }' -e 'for (1..2) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 1 extent found + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 1 * 1024; *F = *STDOUT }' -e 'for (1..31) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 1 * 1024; *F = *STDOUT }' -e 'for (1..100) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + test 0 = 1 + for i in '$(seq 1 2 21)' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 3 * 1024; *F = *STDOUT }' -e 'for (1..1) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 1 extent found + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 3 * 1024; *F = *STDOUT }' -e 'for (1..2) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 1 extent found + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 3 * 1024; *F = *STDOUT }' -e 'for (1..31) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 3 * 1024; *F = *STDOUT }' -e 'for (1..100) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + test 0 = 1 + for i in '$(seq 1 2 21)' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 5 * 1024; *F = *STDOUT }' -e 'for (1..1) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + for j in 1 2 31 100 + perl -e 'BEGIN { $n = 5 * 1024; *F = *STDOUT }' -e 'for (1..2) { sysseek (*F, $n, 1)' -e '&& syswrite (*F, chr($_)x$n) or die "$!"}' + cp --sparse=always j1 j2 + cmp j1 j2 + filefrag -v j1 + grep extent j1: 2 extents found, perfection would be 1 extent + filefrag -v j1 + filefrag -v j2 + f ff1 + perl /sources/coreutils-8.10/tests/filefrag-extent-compare + sed 's/ [a-z,][a-z,]*$//' ff1 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' + f ff2 + sed 's/ [a-z,][a-z,]*$//' ff2 + awk '/^ *[0-9]/ {printf "%d %d ", $2 ,NF < 5 ? $NF : $5 } END {print ""}' differing extent: [0]=1 4 [0]=1 2 + fail=1 + break + test 1 = 1 + break + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc + rm -rf /sources/coreutils-8.10/tests/gt-sparse-fiemap.IsBc + exit 1 SKIP: dd/skip-seek-past-dev (exit: 77) ====================================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-skip-seek-past-dev.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-skip-seek-past-dev.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-skip-seek-past-dev.XXXX +++ d=/sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz ++++ ls -dgo /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz ++ cd /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ dd + test yes = yes + local i + for i in '$*' + env dd --version dd (coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, and Stuart Kemp. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + require_local_dir_ + is_local_dir_ . + test 1 = 1 + df --local . ++ df -P . ++ tail -n1 ++ cut '-d ' -f1 df: Warning: cannot read table of mounted file systems + device=- ++ get_device_size - ++ BLOCKDEV=blockdev ++ blockdev -V ++ blockdev --getsize64 - Usage: blockdev -V blockdev --report [devices] blockdev [-v|-q] commands devices Available commands: --getsz get size in 512-byte sectors --setro set read-only --setrw set read-write --getro get read-only --getdiscardzeroes get discard zeroes support status --getss get logical block (sector) size --getpbsz get physical block (sector) size --getiomin get minimum I/O size --getioopt get optimal I/O size --getalignoff get alignment offset in bytes --getmaxsect get max sectors per request --getbsz get blocksize --setbsz set blocksize --getsize get 32-bit sector count (deprecated, use --getsz) --getsize64 get size in bytes --setra set readahead --getra get readahead --setfra set filesystem readahead --getfra get filesystem readahead --flushbufs flush buffers --rereadpt reread partition table + dev_size= + skip_test_ 'failed to determine size of -' + echo './dd/skip-seek-past-dev: skipping test: failed to determine size of -' + head -1 + echo './dd/skip-seek-past-dev: skipping test: failed to determine size of -' ./dd/skip-seek-past-dev: skipping test: failed to determine size of - + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz + rm -rf /sources/coreutils-8.10/tests/gt-skip-seek-past-dev.xyFz + exit 77 SKIP: ls/capability (exit: 77) ============================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-capability.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-capability.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-capability.XXXX +++ d=/sources/coreutils-8.10/tests/gt-capability.nlJG +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-capability.nlJG ++++ ls -dgo /sources/coreutils-8.10/tests/gt-capability.nlJG ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-capability.nlJG' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-capability.nlJG +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-capability.nlJG ++ cd /sources/coreutils-8.10/tests/gt-capability.nlJG ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/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.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + grep '^#define HAVE_CAP 1' /sources/coreutils-8.10/lib/config.h + skip_test_ 'configured without libcap support' + echo './ls/capability: skipping test: configured without libcap support' + head -1 + echo './ls/capability: skipping test: configured without libcap support' ./ls/capability: skipping test: configured without libcap support + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-capability.nlJG + rm -rf /sources/coreutils-8.10/tests/gt-capability.nlJG + exit 77 SKIP: misc/chcon (exit: 77) =========================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-chcon.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-chcon.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-chcon.XXXX +++ d=/sources/coreutils-8.10/tests/gt-chcon.a9dw +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-chcon.a9dw ++++ ls -dgo /sources/coreutils-8.10/tests/gt-chcon.a9dw ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-chcon.a9dw' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-chcon.a9dw +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-chcon.a9dw ++ cd /sources/coreutils-8.10/tests/gt-chcon.a9dw ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon + test yes = yes + local i + for i in '$*' + env chcon --version chcon (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + require_selinux_ + case `ls -Zd .` in ++ ls -Zd . + skip_test_ 'this system (or maybe just' 'the current file system) lacks SELinux support' + head -1 + echo './misc/chcon: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' + echo './misc/chcon: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' ./misc/chcon: skipping test: this system (or maybe just the current file system) lacks SELinux support + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-chcon.a9dw + rm -rf /sources/coreutils-8.10/tests/gt-chcon.a9dw + exit 77 FAIL: misc/chroot-credentials (exit: 1) ======================================= ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-chroot-credentials.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-chroot-credentials.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-chroot-credentials.XXXX +++ d=/sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ ++++ ls -dgo /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ ++ cd /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chroot + test yes = yes + local i + for i in '$*' + env chroot --version chroot (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Roland McGrath. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 ++ chroot / whoami + test root = root ++ groups ++ chroot / groups + test root = root ++ chroot --userspec=nobody:99 / whoami chroot: failed to run command `whoami': Permission denied + whoami_after_chroot= + test '' '!=' root ++ chroot --userspec=nobody:99 --groups=99 / id -G chroot: failed to run command `id': Permission denied + id_G_after_chroot= + test '' = 99 + fail=1 ++ chroot --userspec=nobody / id -g chroot: failed to run command `id': Permission denied ++ id -g + test '' = 0 + fail=1 ++ chroot --userspec=:99 / id -u ++ id -u + test 0 = 0 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ + rm -rf /sources/coreutils-8.10/tests/gt-chroot-credentials.FdMJ + exit 1 SKIP: misc/selinux (exit: 77) ============================= ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-selinux.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-selinux.XXXX +++ d=/sources/coreutils-8.10/tests/gt-selinux.IYaW +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-selinux.IYaW ++++ ls -dgo /sources/coreutils-8.10/tests/gt-selinux.IYaW ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-selinux.IYaW' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-selinux.IYaW +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-selinux.IYaW ++ cd /sources/coreutils-8.10/tests/gt-selinux.IYaW ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon cp ls mv stat + test yes = yes + local i + for i in '$*' + env chcon --version chcon (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Russell Coker and Jim Meyering. + for i in '$*' + env cp --version cp (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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, David MacKenzie, and Jim Meyering. + for i in '$*' + env ls --version ls (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. + for i in '$*' + env mv --version mv (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. + for i in '$*' + env stat --version stat (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + require_selinux_ + case `ls -Zd .` in ++ ls -Zd . + skip_test_ 'this system (or maybe just' 'the current file system) lacks SELinux support' + echo './misc/selinux: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' + head -1 + echo './misc/selinux: skipping test: this system (or maybe just' 'the current file system) lacks SELinux support' ./misc/selinux: skipping test: this system (or maybe just the current file system) lacks SELinux support + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-selinux.IYaW + rm -rf /sources/coreutils-8.10/tests/gt-selinux.IYaW + exit 77 FAIL: misc/truncate-owned-by-other (exit: 1) ============================================ ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-truncate-owned-by-other.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-truncate-owned-by-other.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-truncate-owned-by-other.XXXX +++ d=/sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ ++++ ls -dgo /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ ++ cd /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ truncate + test yes = yes + local i + for i in '$*' + env truncate --version truncate (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Padraig Brady. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 ++ id -g nobody + group_num=99 + echo + chgrp +99 . root-owned + chmod g+w root-owned + chmod g+x . + setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin truncate -s0 root-owned setuidgid: failed to run command `env': Permission denied + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ + rm -rf /sources/coreutils-8.10/tests/gt-truncate-owned-by-other.9qvQ + exit 1 SKIP: mkdir/writable-under-readonly (exit: 77) ============================================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-writable-under-readonly.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-writable-under-readonly.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-writable-under-readonly.XXXX +++ d=/sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d ++++ ls -dgo /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d ++ cd /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + test yes = yes + local i + for i in '$*' + env mkdir --version mkdir (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + skip_test_ temporarily disabled + echo './mkdir/writable-under-readonly: skipping test: temporarily' disabled + head -1 + echo './mkdir/writable-under-readonly: skipping test: temporarily' disabled ./mkdir/writable-under-readonly: skipping test: temporarily disabled + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d + rm -rf /sources/coreutils-8.10/tests/gt-writable-under-readonly.yE8d + exit 77 FAIL: mv/sticky-to-xpart (exit: 1) ================================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-sticky-to-xpart.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-sticky-to-xpart.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-sticky-to-xpart.XXXX +++ d=/sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ ++++ ls -dgo /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ ++ cd /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/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.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . 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_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + . /sources/coreutils-8.10/tests/other-fs-tmpdir ++ test '' = set ++ CANDIDATE_TMP_DIRS='/tmp /tmp /dev/shm /var/tmp /usr/tmp /root' ++ other_partition_tmpdir= +++ stat -c %d . ++ dot_mount_point=2049 ++ for d in '$CANDIDATE_TMP_DIRS' ++ test -d /tmp +++ stat -L -c %d /tmp ++ d_mount_point=2049 ++ test x2049 = x2049 ++ continue ++ for d in '$CANDIDATE_TMP_DIRS' ++ test -d /tmp +++ stat -L -c %d /tmp ++ d_mount_point=2049 ++ test x2049 = x2049 ++ continue ++ for d in '$CANDIDATE_TMP_DIRS' ++ test -d /dev/shm +++ stat -L -c %d /dev/shm ++ d_mount_point=22 ++ test x22 = x2049 ++ mkdir /dev/shm/tmp21424 ++ other_partition_tmpdir=/dev/shm/tmp21424 ++ break ++ test -z /dev/shm/tmp21424 ++ test yes = yes ++ set -x + mkdir t + chmod a=rwx,o+t t + echo + chmod a+r t/root-owned + chown nobody /dev/shm/tmp21424 + chmod go+x . ++ setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin mv --version ++ sed -n '1s/.* //p' setuidgid: failed to run command `env': Permission denied + version= + case $version in + echo './mv/sticky-to-xpart: cannot access just-built mv as user nobody' ./mv/sticky-to-xpart: cannot access just-built mv as user nobody + fail=1 + setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin mv t/root-owned /dev/shm/tmp21424 + onp='Operation not permitted' + sed 's/Not owner/Operation not permitted/;s/Permission denied/Operation not permitted/' out-t + cat + compare out exp + diff -u out exp --- out 2011-03-13 15:54:15.000000000 +0000 +++ exp 2011-03-13 15:54:15.000000000 +0000 @@ -1 +1 @@ -setuidgid: failed to run command `env': Operation not permitted +mv: cannot remove `t/root-owned': Operation not permitted + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + rm -rf /dev/shm/tmp21424 + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ + rm -rf /sources/coreutils-8.10/tests/gt-sticky-to-xpart.fEbZ + exit 1 SKIP: rm/fail-2eperm (exit: 77) =============================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-fail-2eperm.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-fail-2eperm.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-fail-2eperm.XXXX +++ d=/sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 ++++ ls -dgo /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 ++ cd /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + chown nobody . + mkdir a + chmod 1777 a + touch a/b ++ setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin rm --version ++ sed -n '1s/.* //p' setuidgid: failed to run command `env': Permission denied + rm_version= + case $rm_version in + skip_test_ 'cannot access just-built rm as user nobody' + echo './rm/fail-2eperm: skipping test: cannot access just-built rm as user nobody' + head -1 + echo './rm/fail-2eperm: skipping test: cannot access just-built rm as user nobody' ./rm/fail-2eperm: skipping test: cannot access just-built rm as user nobody + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 + rm -rf /sources/coreutils-8.10/tests/gt-fail-2eperm.PBj7 + exit 77 FAIL: rm/no-give-up (exit: 1) ============================= ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-no-give-up.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-no-give-up.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-no-give-up.XXXX +++ d=/sources/coreutils-8.10/tests/gt-no-give-up.FFBY +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-no-give-up.FFBY ++++ ls -dgo /sources/coreutils-8.10/tests/gt-no-give-up.FFBY ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-no-give-up.FFBY' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-no-give-up.FFBY +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-no-give-up.FFBY ++ cd /sources/coreutils-8.10/tests/gt-no-give-up.FFBY ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 + mkdir d + touch d/f + chown -R nobody d + chmod go=x . + setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin rm -rf d + test -d d + test -f d/f + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-no-give-up.FFBY + rm -rf /sources/coreutils-8.10/tests/gt-no-give-up.FFBY + exit 1 FAIL: touch/now-owned-by-other (exit: 1) ======================================== ++ initial_cwd_=/sources/coreutils-8.10/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.10/tests gt-now-owned-by-other.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.10/tests +++ template_=gt-now-owned-by-other.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /sources/coreutils-8.10/tests gt-now-owned-by-other.XXXX +++ d=/sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a +++ case $d in +++ test -d /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a ++++ ls -dgo /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a ++++ tr S - +++ perms='drwx------ 2 4096 Mar 13 17:54 /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a' +++ case $perms in +++ test 0 = 0 +++ echo /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a +++ return ++ test_dir_=/sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a ++ cd /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a ++ 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 /sources/coreutils-8.10/tests/../src ++ echo /sources/coreutils-8.10/src + abs_path_dir_=/sources/coreutils-8.10/src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin + create_exe_shims_ /sources/coreutils-8.10/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ touch + test yes = yes + local i + for i in '$*' + env touch --version touch (GNU coreutils) 8.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=nobody ++ id -g nobody + NON_ROOT_GROUP=99 ++ id -g nobody + group_num=99 + echo + chgrp +99 . root-owned + chmod g+w root-owned + chmod g+x . + setuidgid nobody env PATH=/sources/coreutils-8.10/src:/sources/coreutils-8.10/src:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin touch -d now root-owned setuidgid: failed to run command `env': Permission denied + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /sources/coreutils-8.10/tests + chmod -R u+rwx /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a + rm -rf /sources/coreutils-8.10/tests/gt-now-owned-by-other.oe3a + exit 1