Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

findutils: disable test_canonicalize (close #8324)

It fails when user doesn't have permission to list all TMPDIR's parent directories.

authored by Robert Scott and committed by Vladimír Čunát ad779acd d8c91a6d

+13 -1
+1 -1
pkgs/tools/misc/findutils/default.nix
··· 10 10 11 11 nativeBuildInputs = [coreutils]; 12 12 13 - patches = [ ./findutils-path.patch ./change_echo_path.patch ]; 13 + patches = [ ./findutils-path.patch ./change_echo_path.patch ./disable-test-canonicalize.patch ]; 14 14 15 15 doCheck = true; 16 16
+12
pkgs/tools/misc/findutils/disable-test-canonicalize.patch
··· 1 + diff -ruN findutils-4.4.2/tests/test-canonicalize.sh findutils-4.4.2_edited/tests/test-canonicalize.sh 2 + --- findutils-4.4.2/tests/test-canonicalize.sh 2008-12-23 12:50:15.000000000 +0000 3 + +++ findutils-4.4.2_edited/tests/test-canonicalize.sh 2015-06-14 10:51:19.000000000 +0000 4 + @@ -1,5 +1,8 @@ 5 + #!/bin/sh 6 + 7 + +# skipped because user might not have directory listing permission for all parents of TMPDIR 8 + +exit 77 9 + + 10 + tmpfiles="" 11 + trap 'rm -fr $tmpfiles' 1 2 3 15 12 +