author | Ben Walton <bwalton@artsci.utoronto.ca> | |
Mon, 21 Mar 2011 01:12:26 +0000 (21:12 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 04:58:09 +0000 (21:58 -0700) | ||
commit | c3786c8472093ec01b73a71a56f405932044a67e | |
tree | 215f76fd15941fba9da4eb8ca07e61c8d746eb34 | tree | snapshot |
parent | 9aec68d3ea935fcb778a3580d950cf20d5bd35f6 | commit | diff |
Work around broken ln on solaris as used in t8006
The test setup in t8006-blame-textconv.sh uses "ln -sf" to
overwrite an existing symlink. Unfortunately, both /usr/bin/ln
and /usr/xpg4/bin/ln on solaris 9 don't properly handle -f and -s
used at the same time. This caused the test setup and subsequent
checks to fail.
Instead, remove the symlink and then create a new one in the
setup code.
The upstream Solaris bug (fixed in 10, but not 9) is documented
here:
http://bugs.opensolaris.org/view_bug.do?bug_id=4372462
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The test setup in t8006-blame-textconv.sh uses "ln -sf" to
overwrite an existing symlink. Unfortunately, both /usr/bin/ln
and /usr/xpg4/bin/ln on solaris 9 don't properly handle -f and -s
used at the same time. This caused the test setup and subsequent
checks to fail.
Instead, remove the symlink and then create a new one in the
setup code.
The upstream Solaris bug (fixed in 10, but not 9) is documented
here:
http://bugs.opensolaris.org/view_bug.do?bug_id=4372462
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t8006-blame-textconv.sh | diff | blob | history |