changeset 23914:a2396b0fd608

test-tools: check for unix permissions for hardlinking
author Matt Mackall <mpm@selenic.com>
date Sat, 17 Jan 2015 15:54:03 -0800
parents bc59ff031700
children 5b20e4c32117
files tests/test-tools.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-tools.t	Sat Jan 17 15:28:56 2015 -0800
+++ b/tests/test-tools.t	Sat Jan 17 15:54:03 2015 -0800
@@ -56,11 +56,13 @@
   <<< no trailing newline
 #endif
 
+#if unix-permissions
   $ ln bar baz
   $ f bar -n baz -l --hexdump -t --sha1 --lines=9 -B 20
   bar: file, links=2, newer than baz, sha1=612ca68d0305c821750a
   0000: 31 0a 32 0a 33 0a 34 0a 35 0a 36 0a 37 0a 38 0a |1.2.3.4.5.6.7.8.|
   0010: 39 0a                                           |9.|
+#endif
 
 #if unix-permissions symlink
   $ ln -s yadda l