================================================ GNU coreutils 8.32: ./tests/test-suite.log ================================================ # TOTAL: 32 # PASS: 14 # SKIP: 13 # XFAIL: 0 # FAIL: 5 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: tests/cp/cp-a-selinux =========================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-cp-a-selinux.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-cp-a-selinux.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o ++++ ls -dgo /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o +++ return ++ test_dir_=/sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o ++ cd /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + require_built_ cp + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cp --version cp (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/cp/cp-a-selinux.sh + require_selinux_ + grep 'selinuxfs$' /proc/filesystems + skip_ 'this system lacks SELinux support' + warn_ 'cp-a-selinux.sh: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'cp-a-selinux.sh: skipped test: this system lacks SELinux support' cp-a-selinux.sh: skipped test: this system lacks SELinux support + test 9 = 2 + sed 1q + printf '%s\n' 'cp-a-selinux.sh: skipped test: this system lacks SELinux support' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o + rm -rf /sources/coreutils-8.32/gt-cp-a-selinux.sh.dk2o + exit 77 SKIP tests/cp/cp-a-selinux.sh (exit status: 77) FAIL: tests/cp/special-bits =========================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-special-bits.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-special-bits.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-special-bits.sh.CP1e +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-special-bits.sh.CP1e ++++ ls -dgo /sources/coreutils-8.32/gt-special-bits.sh.CP1e +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-special-bits.sh.CP1e' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-special-bits.sh.CP1e +++ return ++ test_dir_=/sources/coreutils-8.32/gt-special-bits.sh.CP1e ++ cd /sources/coreutils-8.32/gt-special-bits.sh.CP1e ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + require_built_ cp + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cp --version cp (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/cp/special-bits.sh chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" cp -p c c2 \ + nonroot_has_perm_ + require_built_ chroot + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm --version + local rm_version=8.32 + case ":$rm_version:" in + touch a b c + chmod u+sx,go= a + chmod u=rwx,g=sx,o= b + chmod a=r,ug+sx c + chown tester . + chmod u=rwx,g=rx,o=rx . + cp -p a a2 ++ ls -l a + set _ -rws------ 1 root root 0 Feb 23 09:38 a + shift + p1=-rws------ ++ ls -l a2 + set _ -rws------ 1 root root 0 Feb 23 09:38 a2 + shift + p2=-rws------ + test -rws------ = -rws------ + cp -p b b2 ++ ls -l b + set _ -rwx--s--- 1 root root 0 Feb 23 09:38 b + shift + p1=-rwx--s--- ++ ls -l b2 + set _ -rwx--s--- 1 root root 0 Feb 23 09:38 b2 + shift + p2=-rwx--s--- + test -rwx--s--- = -rwx--s--- + chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin cp -p c c2 ++ ls -l c + set _ -r-sr-sr-- 1 root root 0 Feb 23 09:38 c + shift + p1=-r-sr-sr-- ++ ls -l c2 + set _ -r-sr-sr-- 1 root root 0 Feb 23 09:38 c2 + shift + p2=-r-sr-sr-- + test -r-sr-sr-- = -r-sr-sr-- + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-special-bits.sh.CP1e + rm -rf /sources/coreutils-8.32/gt-special-bits.sh.CP1e + exit 1 FAIL tests/cp/special-bits.sh (exit status: 1) SKIP: tests/cp/cp-mv-enotsup-xattr ================================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-cp-mv-enotsup-xattr.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-cp-mv-enotsup-xattr.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM ++++ ls -dgo /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM +++ return ++ test_dir_=/sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM ++ cd /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp mv + require_built_ cp mv + skip_=no + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cp --version cp (GNU coreutils) 8.32 Copyright (C) 2020 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.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/cp/cp-mv-enotsup-xattr.sh ++ pwd + cwd=/sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM + 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 mkfs: failed to execute mkfs.ext2: No such file or directory + skip_ 'failed to create ext2 file system' + warn_ 'cp-mv-enotsup-xattr.sh: skipped test: failed to create ext2 file system' + case $IFS in + printf '%s\n' 'cp-mv-enotsup-xattr.sh: skipped test: failed to create ext2 file system' cp-mv-enotsup-xattr.sh: skipped test: failed to create ext2 file system + test 9 = 2 + sed 1q + printf '%s\n' 'cp-mv-enotsup-xattr.sh: skipped test: failed to create ext2 file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM/noxattr umount: /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM/noxattr: not mounted. + umount /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM/xattr umount: /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM/xattr: no mount point specified. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM + rm -rf /sources/coreutils-8.32/gt-cp-mv-enotsup-xattr.sh.U4jM + exit 77 SKIP tests/cp/cp-mv-enotsup-xattr.sh (exit status: 77) SKIP: tests/cp/sparse-fiemap ============================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-sparse-fiemap.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-sparse-fiemap.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV ++++ ls -dgo /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV +++ return ++ test_dir_=/sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV ++ cd /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + require_built_ cp + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cp --version cp (GNU coreutils) 8.32 Copyright (C) 2020 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_perl_ + : perl + perl -e 'use warnings' + touch fiemap_chk + fiemap_capable_ fiemap_chk + python ./init.cfg: line 537: python: command not found + warn_ 'fiemap_capable_: python missing: assuming not fiemap capable' + case $IFS in + printf '%s\n' 'fiemap_capable_: python missing: assuming not fiemap capable' fiemap_capable_: python missing: assuming not fiemap capable + test 9 = 2 + sed 1q + printf '%s\n' 'fiemap_capable_: python missing: assuming not fiemap capable' + return 1 + skip_ 'current file system has insufficient FIEMAP support' + warn_ 'sparse-fiemap.sh: skipped test: current file system has insufficient FIEMAP support' + case $IFS in + printf '%s\n' 'sparse-fiemap.sh: skipped test: current file system has insufficient FIEMAP support' sparse-fiemap.sh: skipped test: current file system has insufficient FIEMAP support + test 9 = 2 + sed 1q + printf '%s\n' 'sparse-fiemap.sh: skipped test: current file system has insufficient FIEMAP support' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV + rm -rf /sources/coreutils-8.32/gt-sparse-fiemap.sh.rFtV + exit 77 SKIP tests/cp/sparse-fiemap.sh (exit status: 77) SKIP: tests/cp/cross-dev-symlink ================================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-cross-dev-symlink.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-cross-dev-symlink.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ ++++ ls -dgo /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ +++ return ++ test_dir_=/sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ ++ cd /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + require_built_ cp + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env cp --version cp (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/cp/cross-dev-symlink.sh ++ pwd + cwd=/sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ + truncate -s100M fs.img + mkfs -t ext4 fs.img mkfs: failed to execute mkfs.ext4: No such file or directory + skip_ 'failed to create ext4 file system' + warn_ 'cross-dev-symlink.sh: skipped test: failed to create ext4 file system' + case $IFS in + printf '%s\n' 'cross-dev-symlink.sh: skipped test: failed to create ext4 file system' cross-dev-symlink.sh: skipped test: failed to create ext4 file system + test 9 = 2 + sed 1q + printf '%s\n' 'cross-dev-symlink.sh: skipped test: failed to create ext4 file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ/mnt umount: /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ/mnt: no mount point specified. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ + rm -rf /sources/coreutils-8.32/gt-cross-dev-symlink.sh.cHuQ + exit 77 SKIP tests/cp/cross-dev-symlink.sh (exit status: 77) SKIP: tests/df/problematic-chars ================================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-problematic-chars.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-problematic-chars.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-problematic-chars.sh.O7dl +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl ++++ ls -dgo /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl +++ return ++ test_dir_=/sources/coreutils-8.32/gt-problematic-chars.sh.O7dl ++ cd /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ df printf + require_built_ df printf + skip_=no + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env df --version df (GNU coreutils) 8.32 Copyright (C) 2020 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 Paul Eggert. + for i in $* + env printf --version printf (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/df/problematic-chars.sh + mnt='mount point' ++ pwd + cwd=/sources/coreutils-8.32/gt-problematic-chars.sh.O7dl + skip=0 + dd if=/dev/zero of=blob bs=8192 count=200 + mkdir 'mount point' + mkfs -t ext2 -F blob mkfs: failed to execute mkfs.ext2: No such file or directory + skip_ 'failed to create ext2 file system' + warn_ 'problematic-chars.sh: skipped test: failed to create ext2 file system' + case $IFS in + printf '%s\n' 'problematic-chars.sh: skipped test: failed to create ext2 file system' problematic-chars.sh: skipped test: failed to create ext2 file system + test 9 = 2 + sed 1q + printf '%s\n' 'problematic-chars.sh: skipped test: failed to create ext2 file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + umount '/sources/coreutils-8.32/gt-problematic-chars.sh.O7dl/mount point' umount: /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl/mount point: not mounted. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl + rm -rf /sources/coreutils-8.32/gt-problematic-chars.sh.O7dl + exit 77 SKIP tests/df/problematic-chars.sh (exit status: 77) SKIP: tests/df/over-mount-device ================================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-over-mount-device.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-over-mount-device.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ ++++ ls -dgo /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ +++ return ++ test_dir_=/sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ ++ cd /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ df + require_built_ df + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env df --version df (GNU coreutils) 8.32 Copyright (C) 2020 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 Paul Eggert. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/df/over-mount-device.sh ++ pwd + cwd=/sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ + skip=0 + for i in 1 2 + dd if=/dev/zero of=blob1 bs=8192 count=200 + mkfs -t ext2 -F blob1 mkfs: failed to execute mkfs.ext2: No such file or directory + skip_ 'failed to create ext2 file system' + warn_ 'over-mount-device.sh: skipped test: failed to create ext2 file system' + case $IFS in + printf '%s\n' 'over-mount-device.sh: skipped test: failed to create ext2 file system' over-mount-device.sh: skipped test: failed to create ext2 file system + test 9 = 2 + sed 1q + printf '%s\n' 'over-mount-device.sh: skipped test: failed to create ext2 file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ/mnt umount: /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ/mnt: no mount point specified. + umount /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ/mnt umount: /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ/mnt: no mount point specified. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ + rm -rf /sources/coreutils-8.32/gt-over-mount-device.sh.a7eJ + exit 77 SKIP tests/df/over-mount-device.sh (exit status: 77) SKIP: tests/misc/chcon ====================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-chcon.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-chcon.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-chcon.sh.3SM8 +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-chcon.sh.3SM8 ++++ ls -dgo /sources/coreutils-8.32/gt-chcon.sh.3SM8 +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-chcon.sh.3SM8' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-chcon.sh.3SM8 +++ return ++ test_dir_=/sources/coreutils-8.32/gt-chcon.sh.3SM8 ++ cd /sources/coreutils-8.32/gt-chcon.sh.3SM8 ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon + require_built_ chcon + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env chcon --version chcon (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/misc/chcon.sh + require_selinux_ + grep 'selinuxfs$' /proc/filesystems + skip_ 'this system lacks SELinux support' + warn_ 'chcon.sh: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'chcon.sh: skipped test: this system lacks SELinux support' chcon.sh: skipped test: this system lacks SELinux support + test 9 = 2 + printf '%s\n' 'chcon.sh: skipped test: this system lacks SELinux support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-chcon.sh.3SM8 + rm -rf /sources/coreutils-8.32/gt-chcon.sh.3SM8 + exit 77 SKIP tests/misc/chcon.sh (exit status: 77) FAIL: tests/misc/chroot-credentials =================================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-chroot-credentials.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-chroot-credentials.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ ++++ ls -dgo /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ +++ return ++ test_dir_=/sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ ++ cd /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chroot + require_built_ chroot + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env chroot --version chroot (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/misc/chroot-credentials.sh chroot --userspec=$NON_ROOT_UID: / true || fail=1 chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP / whoami chroot --userspec=$NON_ROOT_USERNAME:$NON_ROOT_GROUP \ + nonroot_has_perm_ + require_built_ chroot + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm --version + local rm_version=8.32 + case ":$rm_version:" in + EXIT_CANCELED=125 + grep '^#define HAVE_SETGROUPS 1' /sources/coreutils-8.32/lib/config.h + HAVE_SETGROUPS=1 ++ id -nu 0 + root=root ++ id -u tester + NON_ROOT_UID=0 + NON_ROOT_GROUP=0 + chroot --userspec=0: / true + for g in ' ' ',' '0trail' + returns_ 125 chroot '--groups= ' / id -G chroot: invalid group ' ' + compare /dev/null invalid + compare_dev_null_ /dev/null invalid + test 2 = 2 + test x/dev/null = x/dev/null + test -s invalid + return 0 + return 0 + for g in ' ' ',' '0trail' + returns_ 125 chroot --groups=, / id -G chroot: invalid group list ',' + compare /dev/null invalid + compare_dev_null_ /dev/null invalid + test 2 = 2 + test x/dev/null = x/dev/null + test -s invalid + return 0 + return 0 + for g in ' ' ',' '0trail' + returns_ 125 chroot --groups=0trail / id -G chroot: invalid group '0trail' + compare /dev/null invalid + compare_dev_null_ /dev/null invalid + test 2 = 2 + test x/dev/null = x/dev/null + test -s invalid + return 0 + return 0 ++ chroot / whoami + test root = root ++ groups groups: cannot find name for group ID 17 ++ chroot / groups groups: cannot find name for group ID 17 + test 'root bin sys kmem tape daemon dialout 17' = 'root bin sys kmem tape daemon dialout 17' ++ chroot --userspec=tester:0 / whoami + whoami_after_chroot=root + test root '!=' root + fail=1 ++ chroot --userspec=:0 / id -G ++ id -G + test '0 1 2 3 4 6 10 17' = '0 0 1 2 3 4 6 10 17' + fail=1 + test 1 ++ chroot --userspec=tester:0 --groups=0 / id -G + id_G_after_chroot=0 + test 0 = 0 ++ num_sort ++ chroot --userspec=tester / id -G ++ sort -n ++ tr -s ' ' '\n' ++ num_sort ++ id -G tester ++ sort -n ++ tr -s ' ' '\n' + test 0 = 0 ++ num_sort ++ chroot --userspec=tester: / id -G ++ sort -n ++ tr -s ' ' '\n' ++ num_sort ++ id -G tester ++ sort -n ++ tr -s ' ' '\n' + test 0 = 0 ++ chroot --userspec=tester --groups= / id -G + test 0 = 0 ++ num_sort ++ chroot --userspec=0 / id -G ++ sort -n ++ tr -s ' ' '\n' ++ num_sort ++ id -G tester ++ sort -n ++ tr -s ' ' '\n' + test 0 = 0 ++ chroot --userspec=+0:+0 --groups= / id -G + test 0 = 0 ++ chroot --userspec=:0 / id -u ++ id -u + test 0 = 0 ++ chroot --userspec=1234:+5678 '--groups= +8765,4321' / id -G + test '5678 4321 8765' ++ chroot --userspec=1234:+5678 --groups=,8765,,4321, / id -G + test '5678 4321 8765' ++ chroot '--groups=invalid ignored' --groups= / id -G + test 0 + id -u +12342 id: '+12342': no such user ++ chroot --userspec=+12342:+5678 / id -G + test 5678 = 5678 + returns_ 125 chroot --userspec=+12342 / true chroot: no group specified for unknown uid: 12342 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ + rm -rf /sources/coreutils-8.32/gt-chroot-credentials.sh.qZGJ + exit 1 FAIL tests/misc/chroot-credentials.sh (exit status: 1) SKIP: tests/misc/selinux ======================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-selinux.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-selinux.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-selinux.sh.t5eD +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-selinux.sh.t5eD ++++ ls -dgo /sources/coreutils-8.32/gt-selinux.sh.t5eD +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-selinux.sh.t5eD' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-selinux.sh.t5eD +++ return ++ test_dir_=/sources/coreutils-8.32/gt-selinux.sh.t5eD ++ cd /sources/coreutils-8.32/gt-selinux.sh.t5eD ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon cp ls mv stat + require_built_ chcon cp ls mv stat + skip_=no + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env chcon --version chcon (GNU coreutils) 8.32 Copyright (C) 2020 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.32 Copyright (C) 2020 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.32 Copyright (C) 2020 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.32 Copyright (C) 2020 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.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/misc/selinux.sh + require_selinux_ + grep 'selinuxfs$' /proc/filesystems + skip_ 'this system lacks SELinux support' + warn_ 'selinux.sh: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'selinux.sh: skipped test: this system lacks SELinux support' selinux.sh: skipped test: this system lacks SELinux support + test 9 = 2 + sed 1q + printf '%s\n' 'selinux.sh: skipped test: this system lacks SELinux support' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-selinux.sh.t5eD + rm -rf /sources/coreutils-8.32/gt-selinux.sh.t5eD + exit 77 SKIP tests/misc/selinux.sh (exit status: 77) SKIP: tests/mkdir/writable-under-readonly ========================================= ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-writable-under-readonly.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-writable-under-readonly.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA ++++ ls -dgo /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA +++ return ++ test_dir_=/sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA ++ cd /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + require_built_ mkdir + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mkdir --version mkdir (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/mkdir/writable-under-readonly.sh + skip_ temporarily disabled + warn_ 'writable-under-readonly.sh: skipped test: temporarily' disabled + case $IFS in + printf '%s\n' 'writable-under-readonly.sh: skipped test: temporarily disabled' writable-under-readonly.sh: skipped test: temporarily disabled + test 9 = 2 + sed 1q + printf '%s\n' 'writable-under-readonly.sh: skipped test: temporarily disabled' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA + rm -rf /sources/coreutils-8.32/gt-writable-under-readonly.sh.kgoA + exit 77 SKIP tests/mkdir/writable-under-readonly.sh (exit status: 77) SKIP: tests/mkdir/smack-root ============================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-smack-root.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-smack-root.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-smack-root.sh.3ZzG +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-smack-root.sh.3ZzG ++++ ls -dgo /sources/coreutils-8.32/gt-smack-root.sh.3ZzG +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-smack-root.sh.3ZzG' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-smack-root.sh.3ZzG +++ return ++ test_dir_=/sources/coreutils-8.32/gt-smack-root.sh.3ZzG ++ cd /sources/coreutils-8.32/gt-smack-root.sh.3ZzG ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir mkfifo mknod + require_built_ mkdir mkfifo mknod + skip_=no + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mkdir --version mkdir (GNU coreutils) 8.32 Copyright (C) 2020 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. + for i in $* + env mkfifo --version mkfifo (GNU coreutils) 8.32 Copyright (C) 2020 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. + for i in $* + env mknod --version mknod (GNU coreutils) 8.32 Copyright (C) 2020 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_smack_ + grep 'smackfs$' /proc/filesystems + skip_ 'this system lacks SMACK support' + warn_ 'smack-root.sh: skipped test: this system lacks SMACK support' + case $IFS in + printf '%s\n' 'smack-root.sh: skipped test: this system lacks SMACK support' smack-root.sh: skipped test: this system lacks SMACK support + test 9 = 2 + sed 1q + printf '%s\n' 'smack-root.sh: skipped test: this system lacks SMACK support' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-smack-root.sh.3ZzG + rm -rf /sources/coreutils-8.32/gt-smack-root.sh.3ZzG + exit 77 SKIP tests/mkdir/smack-root.sh (exit status: 77) SKIP: tests/mv/hardlink-case ============================ ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-hardlink-case.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-hardlink-case.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-hardlink-case.sh.7WSr +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr ++++ ls -dgo /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr +++ return ++ test_dir_=/sources/coreutils-8.32/gt-hardlink-case.sh.7WSr ++ cd /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + require_built_ mv + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mv --version mv (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/mv/hardlink-case.sh ++ pwd + cwd=/sources/coreutils-8.32/gt-hardlink-case.sh.7WSr + truncate -s100M hfs.img + mkfs -t hfsplus hfs.img mkfs: failed to execute mkfs.hfsplus: No such file or directory + skip_ 'failed to create hfs file system' + warn_ 'hardlink-case.sh: skipped test: failed to create hfs file system' + case $IFS in + printf '%s\n' 'hardlink-case.sh: skipped test: failed to create hfs file system' hardlink-case.sh: skipped test: failed to create hfs file system + test 9 = 2 + printf '%s\n' 'hardlink-case.sh: skipped test: failed to create hfs file system' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr/mnt umount: /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr/mnt: no mount point specified. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr + rm -rf /sources/coreutils-8.32/gt-hardlink-case.sh.7WSr + exit 77 SKIP tests/mv/hardlink-case.sh (exit status: 77) FAIL: tests/mv/sticky-to-xpart ============================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-sticky-to-xpart.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-sticky-to-xpart.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 ++++ ls -dgo /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 +++ return ++ test_dir_=/sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 ++ cd /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + require_built_ mv + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env mv --version mv (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/mv/sticky-to-xpart.sh chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \ chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \ + nonroot_has_perm_ + require_built_ chroot + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm --version + local rm_version=8.32 + case ":$rm_version:" in + . /sources/coreutils-8.32/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=2068 ++ for d in $CANDIDATE_TMP_DIRS ++ test -d /tmp +++ stat -L -c %d /tmp ++ d_mount_point=2068 ++ test x2068 = x2068 ++ continue ++ for d in $CANDIDATE_TMP_DIRS ++ test -d /tmp +++ stat -L -c %d /tmp ++ d_mount_point=2068 ++ test x2068 = x2068 ++ continue ++ for d in $CANDIDATE_TMP_DIRS ++ test -d /dev/shm +++ stat -L -c %d /dev/shm ++ d_mount_point=5 ++ test x5 = x2068 ++ mkdir /dev/shm/tmp26516 ++ other_partition_tmpdir=/dev/shm/tmp26516 ++ break ++ test -z /dev/shm/tmp26516 ++ test yes = yes ++ set -x + mkdir t + chmod a=rwx,o+t t + echo + chmod a+r t/root-owned + chown tester /dev/shm/tmp26516 + chmod go+x . ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin mv --version + version=8.32 + case $version in + chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin mv t/root-owned /dev/shm/tmp26516 + fail=1 + onp='Operation not permitted' + sed 's/Not owner/Operation not permitted/;s/Permission denied/Operation not permitted/' out-t + cat + 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 2021-02-23 09:38:50.719582181 +0000 +++ out 2021-02-23 09:38:50.717582181 +0000 @@ -1 +0,0 @@ -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/tmp26516 + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 + rm -rf /sources/coreutils-8.32/gt-sticky-to-xpart.sh.5Cj5 + exit 1 FAIL tests/mv/sticky-to-xpart.sh (exit status: 1) FAIL: tests/rm/fail-2eperm ========================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-fail-2eperm.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-fail-2eperm.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM ++++ ls -dgo /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM +++ return ++ test_dir_=/sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM ++ cd /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + require_built_ rm + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env rm --version rm (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/rm/fail-2eperm.sh chroot --skip-chdir --user=$NON_ROOT_USERNAME / env PATH="$PATH" \ chroot --skip-chdir --user=$NON_ROOT_USERNAME / \ + nonroot_has_perm_ + require_built_ chroot + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm --version + local rm_version=8.32 + case ":$rm_version:" in + chown tester . + mkdir a + chmod 1777 a + touch a/b ++ sed -n '1s/.* //p' ++ chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm --version + rm_version=8.32 + case $rm_version in + chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm -rf a + fail=1 + onp='Operation not permitted' + sed 's/Not owner/Operation not permitted/;s/Permission denied/Operation not permitted/' out-t + cat + 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 2021-02-23 09:38:50.812582183 +0000 +++ out 2021-02-23 09:38:50.811582183 +0000 @@ -1 +0,0 @@ -rm: cannot remove 'a/b': Operation not permitted + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM + rm -rf /sources/coreutils-8.32/gt-fail-2eperm.sh.kwqM + exit 1 FAIL tests/rm/fail-2eperm.sh (exit status: 1) FAIL: tests/rm/no-give-up ========================= ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-no-give-up.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-no-give-up.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-no-give-up.sh.Mr1a +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a ++++ ls -dgo /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a +++ return ++ test_dir_=/sources/coreutils-8.32/gt-no-give-up.sh.Mr1a ++ cd /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + require_built_ rm + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env rm --version rm (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/rm/no-give-up.sh + mkdir d + touch d/f + chown -R tester d + chmod go=x . + returns_ 1 chroot --skip-chdir --user=tester / env PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin rm -rf d + fail=1 + test -d d + fail=1 + test -f d/f + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a + rm -rf /sources/coreutils-8.32/gt-no-give-up.sh.Mr1a + exit 1 FAIL tests/rm/no-give-up.sh (exit status: 1) SKIP: tests/rm/read-only ======================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-read-only.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-read-only.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-read-only.sh.5EzU +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-read-only.sh.5EzU ++++ ls -dgo /sources/coreutils-8.32/gt-read-only.sh.5EzU +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-read-only.sh.5EzU' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-read-only.sh.5EzU +++ return ++ test_dir_=/sources/coreutils-8.32/gt-read-only.sh.5EzU ++ cd /sources/coreutils-8.32/gt-read-only.sh.5EzU ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + require_built_ rm + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env rm --version rm (GNU coreutils) 8.32 Copyright (C) 2020 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=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/rm/read-only.sh ++ pwd + cwd=/sources/coreutils-8.32/gt-read-only.sh.5EzU + skip=0 + dd if=/dev/zero of=blob bs=8192 count=200 + mkdir mnt + mkfs -t ext2 -F blob mkfs: failed to execute mkfs.ext2: No such file or directory + skip_ 'failed to create ext2 file system' + warn_ 'read-only.sh: skipped test: failed to create ext2 file system' + case $IFS in + printf '%s\n' 'read-only.sh: skipped test: failed to create ext2 file system' read-only.sh: skipped test: failed to create ext2 file system + test 9 = 2 + sed 1q + printf '%s\n' 'read-only.sh: skipped test: failed to create ext2 file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + cd / + umount /sources/coreutils-8.32/gt-read-only.sh.5EzU/mnt umount: /sources/coreutils-8.32/gt-read-only.sh.5EzU/mnt: not mounted. + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-read-only.sh.5EzU + rm -rf /sources/coreutils-8.32/gt-read-only.sh.5EzU + exit 77 SKIP tests/rm/read-only.sh (exit status: 77) SKIP: tests/tail-2/append-only ============================== ++ initial_cwd_=/sources/coreutils-8.32 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sources/coreutils-8.32 gt-append-only.sh.XXXX +++ case $# in +++ destdir_=/sources/coreutils-8.32 +++ template_=gt-append-only.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sources/coreutils-8.32/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sources/coreutils-8.32/gt-append-only.sh.xSCy +++ case $d in +++ : +++ test -d /sources/coreutils-8.32/gt-append-only.sh.xSCy ++++ ls -dgo /sources/coreutils-8.32/gt-append-only.sh.xSCy +++ perms='drwx------ 2 4096 Feb 23 09:38 /sources/coreutils-8.32/gt-append-only.sh.xSCy' +++ case $perms in +++ : +++ echo /sources/coreutils-8.32/gt-append-only.sh.xSCy +++ return ++ test_dir_=/sources/coreutils-8.32/gt-append-only.sh.xSCy ++ cd /sources/coreutils-8.32/gt-append-only.sh.xSCy ++ case $srcdir in ++ srcdir=../. ++ builddir=.. ++ export srcdir builddir ++ 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_=/sources/coreutils-8.32/./src + case $abs_path_dir_ in + PATH=/sources/coreutils-8.32/./src:/sources/coreutils-8.32/src:/bin:/usr/bin:/sbin:/usr/sbin + create_exe_shims_ /sources/coreutils-8.32/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + require_built_ tail + skip_=no + for i in "$@" + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in $* + env tail --version tail (GNU coreutils) 8.32 Copyright (C) 2020 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, Ian Lance Taylor, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=0 + case $my_uid in + NON_ROOT_USERNAME=tester ++ id -g tester + NON_ROOT_GID=0 + grep '^[ ]*chroot' .././tests/tail-2/append-only.sh + chattr_a_works=1 + touch f + chattr +a f + chattr_a_works=0 + chattr_a_works=0 + echo x + test 0 = 0 + skip_ 'chattr +a doesn'\''t work on this file system' + warn_ 'append-only.sh: skipped test: chattr +a doesn'\''t work on this file system' + case $IFS in + printf '%s\n' 'append-only.sh: skipped test: chattr +a doesn'\''t work on this file system' append-only.sh: skipped test: chattr +a doesn't work on this file system + test 9 = 2 + sed 1q + printf '%s\n' 'append-only.sh: skipped test: chattr +a doesn'\''t work on this file system' + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + kill + test '' = yes + cd /sources/coreutils-8.32 + chmod -R u+rwx /sources/coreutils-8.32/gt-append-only.sh.xSCy + rm -rf /sources/coreutils-8.32/gt-append-only.sh.xSCy + exit 77 SKIP tests/tail-2/append-only.sh (exit status: 77)