tests: suppress spurious lchmod error from unzip (issue4088) stable
authorMatt Mackall <mpm@selenic.com>
Thu, 01 May 2014 14:33:06 -0500
branchstable
changeset 21216 6d632cf8a811
parent 21215 717ba2c3c9da
child 21217 2195ac506c6a
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.
tests/test-archive-symlinks.t
--- 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