tests: use readlink.py instead of readlink
authorAugie Fackler <augie@google.com>
Tue, 10 Oct 2017 11:02:40 -0400
changeset 34570 dbb2027f4974
parent 34569 e304fd82c718
child 34571 75bd034a1e00
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/D997
tests/test-origbackup-conflict.t
--- a/tests/test-origbackup-conflict.t	Tue Oct 10 11:02:23 2017 -0400
+++ b/tests/test-origbackup-conflict.t	Tue Oct 10 11:02:40 2017 -0400
@@ -80,8 +80,8 @@
   b: replacing untracked file
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   (activating bookmark b1)
-  $ readlink .hg/origbackups/b
-  ../../../sym-link-target
+  $ readlink.py .hg/origbackups/b
+  .hg/origbackups/b -> ../../../sym-link-target
 
 Perform an update that causes b/c to be backed up again - it should not go into the target dir