tests: use readlink.py instead of readlink
authorAugie Fackler <augie@google.com>
Tue, 10 Oct 2017 11:02:23 -0400
changeset 34569 e304fd82c718
parent 34568 63c19b7fa100
child 34570 dbb2027f4974
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/D996
tests/test-convert-p4-filetypes.t
--- a/tests/test-convert-p4-filetypes.t	Wed Oct 11 01:56:49 2017 -0700
+++ b/tests/test-convert-p4-filetypes.t	Tue Oct 10 11:02:23 2017 -0400
@@ -746,10 +746,10 @@
   $Header$$Header$Header$
 
 crazy_symlink
-  $ readlink crazy_symlink+k
-  target_$Header: //depot/test-mercurial-import/crazy_symlink+k#1 $
-  $ readlink dst/crazy_symlink+k
-  target_$Header$
+  $ readlink.py crazy_symlink+k
+  crazy_symlink+k -> target_$Header: //depot/test-mercurial-import/crazy_symlink+k#1 $
+  $ readlink.py dst/crazy_symlink+k
+  dst/crazy_symlink+k -> target_$Header$
 
 exit trap:
   stopping the p4 server