++ initial_cwd_=/home/agn/sources/coreutils-8.25 ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/agn/sources/coreutils-8.25 gt-parent-perm-race.sh.XXXX +++ case $# in +++ destdir_=/home/agn/sources/coreutils-8.25 +++ template_=gt-parent-perm-race.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR +++ d=/home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd +++ case $d in +++ test -d /home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd ++++ ls -dgo /home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd ++++ tr S - +++ perms='drwx------ 2 256 Jan 28 10:17 /home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qU-d' +++ case $perms in +++ test 0 = 0 +++ echo /home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd +++ return ++ test_dir_=/home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd ++ cd /home/agn/sources/coreutils-8.25/gt-parent-perm-race.sh.qUSd ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ./src + test 1 '!=' 0 + path_dir_=./src + case $path_dir_ in + abs_path_dir_=/home/agn/sources/coreutils-8.25/./src + case $abs_path_dir_ in + PATH=/home/agn/sources/coreutils-8.25/./src:/home/agn/sources/coreutils-8.25/src:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/agn/bin:/home/agn/usr/bin:/usr/bin/X11:/sbin:. + create_exe_shims_ /home/agn/sources/coreutils-8.25/./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.25 Copyright (C) 2016 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 Torbjörn Granlund, David MacKenzie, and Jim Meyering. + require_local_dir_ + require_mount_list_ + local 'mount_list_fail=cannot read table of mounted file systems' + df --local + grep -F 'cannot read table of mounted file systems' + is_local_dir_ . + test 1 = 1 + df --local . + umask 002 + mkdir mode ownership d + chmod g+s d + for attr in mode ownership + mkfifo_or_skip_ mode/fifo + test 1 = 1 + mkfifo mode/fifo + pid=23265522 + cp --preserve=mode -R --copy-contents --parents mode d cp: cannot open 'mode/fifo' for reading: Invalid argument