changeset 21216:6d632cf8a811 stable

tests: suppress spurious lchmod error from unzip (issue4088) Because lchmod doesn't exist on Linux, unzip should be built without lchmod support. A few distros get this wrong.
author Matt Mackall <mpm@selenic.com>
date Thu, 01 May 2014 14:33:06 -0500
parents 717ba2c3c9da
children 2195ac506c6a
files tests/test-archive-symlinks.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-archive-symlinks.t	Thu May 01 12:15:28 2014 -0700
+++ b/tests/test-archive-symlinks.t	Thu May 01 14:33:06 2014 -0500
@@ -32,7 +32,7 @@
 zip
 
   $ cd "$origdir"
-  $ unzip archive.zip > /dev/null
+  $ unzip archive.zip > /dev/null 2>&1
   $ cd zip
   $ "$TESTDIR/readlink.py" dangling
   dangling -> nothing