Mercurial > public > mercurial-scm > hg-stable
diff tests/hghave.py @ 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 | 7025693433b2 |
children | a5ce381a8da0 |
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')