tests: guard test-archive-symlink with unziplinks check
authorAugie Fackler <augie@google.com>
Thu, 25 Aug 2016 01:26:39 -0400
changeset 29844 c4d03b6d9576
parent 29843 00ca4f966ca6
child 29845 398037e0511c
tests: guard test-archive-symlink with unziplinks check This fixes the test on FreeBSD, where the stock unzip doesn't understand symlinks.
tests/test-archive-symlinks.t
--- a/tests/test-archive-symlinks.t	Thu Aug 25 01:25:52 2016 -0400
+++ b/tests/test-archive-symlinks.t	Thu Aug 25 01:26:39 2016 -0400
@@ -29,6 +29,7 @@
   $ readlink.py dangling
   dangling -> nothing
 
+#if unziplinks
 zip
 
   $ cd "$origdir"
@@ -36,5 +37,6 @@
   $ cd zip
   $ readlink.py dangling
   dangling -> nothing
+#endif
 
   $ cd ..