From: Junio C Hamano Date: Wed, 25 Feb 2015 23:40:18 +0000 (-0800) Subject: Merge branch 'jk/sanity' X-Git-Tag: v2.4.0-rc0~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75b49bb181555b25d316bbe427ba7feedd2a58da;p=git Merge branch 'jk/sanity' The tests that wanted to see that file becomes unreadable after running "chmod a-r file", and the tests that wanted to make sure it is not run as root, we used "can we write into the / directory?" as a cheap substitute, but on some platforms that is not a good heuristics. The tests and their prerequisites have been updated to check what they really require. * jk/sanity: test-lib.sh: set prerequisite SANITY by testing what we really need tests: correct misuses of POSIXPERM t/lib-httpd: switch SANITY check for NOT_ROOT --- 75b49bb181555b25d316bbe427ba7feedd2a58da