# HG changeset patch # User Mads Kiilerich # Date 2010-09-24 00:52:12 # Node ID ea384dbca5b14c04503b05452c7b67dcd4562435 # Parent cc6d40dffa45dcff9bdd400614cdec03829bf325 test-mq-symlinks: fix symlink handling on solaris It seems like ln -s gets confused if an existing symlink is dangling: $ rm -f a b; ln -s a b; ln -sf b b ln: cannot create b: File exists We now rely on rm instead of on ln -sf. diff --git a/tests/test-mq-symlinks b/tests/test-mq-symlinks --- a/tests/test-mq-symlinks +++ b/tests/test-mq-symlinks @@ -61,6 +61,7 @@ ln -s linka linka hg add linka hg qnew link hg mv linka linkb +rm linkb ln -sf linkb linkb hg qnew movelink hg qpop @@ -71,4 +72,4 @@ hg qpop ln -s linkbb linkb hg qpush -true \ No newline at end of file +true