findutils: disable test_canonicalize (close #8324)

It fails when user doesn't have permission to list all TMPDIR's parent directories.
This commit is contained in:
Robert Scott 2015-06-14 11:20:43 +00:00 committed by Vladimír Čunát
parent d8c91a6d27
commit ad779acd3b
2 changed files with 13 additions and 1 deletions

View file

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [coreutils];
patches = [ ./findutils-path.patch ./change_echo_path.patch ];
patches = [ ./findutils-path.patch ./change_echo_path.patch ./disable-test-canonicalize.patch ];
doCheck = true;

View file

@ -0,0 +1,12 @@
diff -ruN findutils-4.4.2/tests/test-canonicalize.sh findutils-4.4.2_edited/tests/test-canonicalize.sh
--- findutils-4.4.2/tests/test-canonicalize.sh 2008-12-23 12:50:15.000000000 +0000
+++ findutils-4.4.2_edited/tests/test-canonicalize.sh 2015-06-14 10:51:19.000000000 +0000
@@ -1,5 +1,8 @@
#!/bin/sh
+# skipped because user might not have directory listing permission for all parents of TMPDIR
+exit 77
+
tmpfiles=""
trap 'rm -fr $tmpfiles' 1 2 3 15