++ initial_cwd_=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28 gt-trailing-slash.sh.XXXX +++ case $# in +++ destdir_=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28 +++ template_=gt-trailing-slash.sh.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ destdir_slash_=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/ +++ case $template_ in ++++ unset TMPDIR +++ d=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK +++ case $d in +++ : +++ test -d /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK ++++ ls -dgo /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK +++ perms='drwx------ 2 64 Sep 24 13:28 /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK' +++ case $perms in +++ : +++ echo /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK +++ return ++ test_dir_=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK ++ cd /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK ++ 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_=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/./src + case $abs_path_dir_ in + PATH=/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/./src:/sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/src:/sw/var/lib/fink/path-prefix-libcxx:/sw/var/lib/fink/path-prefix-clang:/sw/lib/perl5/ExtUtils:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/X11/bin + create_exe_shims_ /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/./src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ touch + require_built_ touch + skip_=no + for i in '"$@"' + case " $built_programs " in + test no = yes + test yes = yes + local i + for i in '$*' + env touch --version touch (GNU coreutils) 8.28 Copyright (C) 2017 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. + ln -s nowhere dangling + ln -s loop loop + touch file + ln -s file link1 + mkdir dir + ln -s dir link2 + returns_ 1 touch no-file/ touch: setting times of 'no-file/': No such file or directory + returns_ 1 touch file/ touch: setting times of 'file/': Not a directory + returns_ 1 touch dangling/ touch: setting times of 'dangling/': No such file or directory + returns_ 1 touch loop/ touch: setting times of 'loop/': Too many levels of symbolic links + returns_ 1 touch link1/ + fail=1 + touch dir/ + touch -c no-file/ + returns_ 1 touch -c file/ touch: setting times of 'file/': Not a directory + touch -c dangling/ + returns_ 1 touch -c loop/ touch: setting times of 'loop/': Too many levels of symbolic links + returns_ 1 touch -c link1/ + fail=1 + touch -c dir/ + returns_ 1 test -f no-file + returns_ 1 test -f nowhere + touch -d 2009-10-10 -h link2/ + touch -h -r link2/ file + case $(stat --format=%y dir) in ++ stat --format=%y dir + case $(stat --format=%y link2) in ++ stat --format=%y link2 + case $(stat --format=%y file) in ++ stat --format=%y file + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + test '' = yes + cd /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28 + chmod -R u+rwx /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK + rm -rf /sw/src/fink.build/coreutils-8.28-1/coreutils-8.28/gt-trailing-slash.sh.rtDK + exit 1 FAIL tests/touch/trailing-slash.sh (exit status: 1)