# HG changeset patch # User Matt Mackall # Date 1421538843 28800 # Node ID a2396b0fd6080cb8e021ce21d5bb5fd00cd4b811 # Parent bc59ff03170080f7f2c02c11cff9060a7d91db3e test-tools: check for unix permissions for hardlinking diff -r bc59ff031700 -r a2396b0fd608 tests/test-tools.t --- 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