changeset 29854:00ca4f966ca6

hghave: add a check for unzip(1) that understands symlinks unzip(1) from the FreeBSD base system does not understand symlinks, so test-archive-symlinks is busted.
author Augie Fackler <augie@google.com>
date Thu, 25 Aug 2016 01:25:52 -0400
parents d5497eb1d768
children c4d03b6d9576
files tests/hghave.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave.py	Thu Aug 25 01:00:54 2016 -0400
+++ b/tests/hghave.py	Thu Aug 25 01:25:52 2016 -0400
@@ -573,3 +573,7 @@
         return True
     except ImportError:
         return False
+
+@check("unziplinks", "unzip(1) understands and extracts symlinks")
+def unzip_understands_symlinks():
+    return matchoutput('unzip --help', br'Info-ZIP')