nixpkgs/pkgs/tools/misc/findutils/disable-test-canonicalize.patch
Robert Scott ad779acd3b findutils: disable test_canonicalize (close #8324)
It fails when user doesn't have permission to list all TMPDIR's parent directories.
2015-06-22 18:55:14 +02:00

13 lines
459 B
Diff

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