mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 15:58:36 +00:00
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:
parent
d8c91a6d27
commit
ad779acd3b
|
@ -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;
|
||||
|
||||
|
|
12
pkgs/tools/misc/findutils/disable-test-canonicalize.patch
Normal file
12
pkgs/tools/misc/findutils/disable-test-canonicalize.patch
Normal 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
|
||||
|
Loading…
Reference in a new issue