diff tests/test-archive-symlinks.t @ 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 f2719b387380
children 7a9cbb315d84
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