Merge branch 'jk/sanity'
commit75b49bb181555b25d316bbe427ba7feedd2a58da
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2015 23:40:18 +0000 (25 15:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2015 23:40:18 +0000 (25 15:40 -0800)
tree689c880151a20ee5cd6e2db36cca4f2d11a54673
parent4f5a4271ea3657ea79de4ccef20c29619c36d1c1
parentf400e51c13eb4143e420d41d9b415d4f5ddbdb85
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
t/test-lib.sh