# HG changeset patch # User Augie Fackler # Date 1472102752 14400 # Node ID 00ca4f966ca6d4c22b3caffadf3caed9cd408a61 # Parent d5497eb1d768c02f614fe6cab577b18d62cd30e9 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. diff -r d5497eb1d768 -r 00ca4f966ca6 tests/hghave.py --- 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')