tests: use readlink.py instead of readlink
The latter doesn't always exist, such as on Solaris-derived platforms.
Differential Revision: https://phab.mercurial-scm.org/D999
--- a/tests/test-pathconflicts-update.t Tue Oct 10 11:02:53 2017 -0400
+++ b/tests/test-pathconflicts-update.t Tue Oct 10 11:03:14 2017 -0400
@@ -59,8 +59,8 @@
a/b: replacing untracked file
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(activating bookmark dir)
- $ readlink a/b.orig
- x
+ $ readlink.py a/b.orig
+ a/b.orig -> x
$ rm a/b.orig
Update - local directory conflicts with remote file
@@ -94,8 +94,8 @@
a/b: replacing untracked files in directory
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(activating bookmark link)
- $ readlink a/b
- c
+ $ readlink.py a/b
+ a/b -> c
$ test -d a/b.orig
$ rm -rf a/b.orig