Jim Meyering wrote: > Long-term, best for you would be to install GNU diffutils.
done: ======================================================= GNU coreutils 7.4.127-d2510: tests/test-suite.log ======================================================= 1 of 1 test failed. .. contents:: :depth: 2 FAIL: install/install-C (exit: 1) ================================= + ginstall --version install (GNU coreutils) 7.4.127-d2510 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David MacKenzie. + . ./test-lib.sh ++ unset function_test ++ eval 'function_test() { return 11; }; function_test' +++ function_test +++ return 11 ++ test 11 '!=' 11 +++ pwd ++ test_dir_=/vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests +++ this_test_ +++ echo ././install/install-C +++ sed 's,.*/,,' ++ this_test=install-C +++ /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/src/mktemp -d --tmp=/vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests cu-install-C.XXXXXXXXXX ++ t_=/vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-install-C.zJ5 O9yijiw ++ trap remove_tmp_ 0 ++ trap 'Exit $?' 1 2 13 15 ++ cd /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-install-C.zJ5O9y ijiw ++ diff --version ++ grep GNU + skip_if_setgid_ + setgid_tmpdir=setgid-3612 + umask 77 + mkdir setgid-3612 ++ stat --printf %A setgid-3612 + perms=drwx------ + rmdir setgid-3612 + case $perms in + mode1=0644 + mode2=0755 + mode3=2755 + fail=0 + echo test + echo '`a'\'' -> `b'\''' + echo 'removed `b'\'' `a'\'' -> `b'\''' + ginstall -Cv -m0644 a b + compare out out_installed_first + diff -u out out_installed_first + ginstall -Cv -m0644 a b + compare out out_empty + diff -u out out_empty + ginstall -v --compare -m0644 a b + compare out out_empty + diff -u out out_empty + ginstall -v -m0644 a b + compare out out_installed_second + diff -u out out_installed_second + ginstall -Cv -m2755 a b + compare out out_installed_second + diff -u out out_installed_second + ginstall -Cv -m2755 a b + compare out out_installed_second + diff -u out out_installed_second --- out 2009-08-19 12:43:25.668663000 +0200 +++ out_installed_second 2009-08-19 12:43:25.619450000 +0200 @@ -0,0 +1,2 @@ +removed `b' +`a' -> `b' + fail=1 + ln -s a c + ln -s b d + ginstall -Cv -m0644 c d + echo 'removed `d'\'' `c'\'' -> `d'\''' + compare out out_installed_second_cd + diff -u out out_installed_second_cd + echo test1 + ginstall -Cv -m0644 a b + compare out out_installed_second + diff -u out out_installed_second + ginstall -Cv -m0644 a b + compare out out_empty + diff -u out out_empty + echo test2 + ginstall -Cv -m0644 a b + compare out out_installed_second + diff -u out out_installed_second + ginstall -Cv -m0644 a b + compare out out_empty + diff -u out out_empty + ginstall -Cv -m0755 a b + compare out out_installed_second + diff -u out out_installed_second + ginstall -Cv -m0755 a b + compare out out_empty + diff -u out out_empty + ginstall -C --preserve-timestamps a b ginstall: options --compare (-C) and --preserve-timestamps are mutually exclusive Try `ginstall --help' for more information. + ginstall -C --strip --strip-program=echo a b ginstall: options --compare (-C) and --strip are mutually exclusive Try `ginstall --help' for more information. + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests + chmod -R u+rwx /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-install-C.zJ5O9y ijiw + rm -rf /vol1/home1/ecs2/depot/coreutils-7.4.127-d2510/tests/cu-install-C.zJ5O9y ijiw + exit 1