t3600-rm: skip failed-remove test when we cannot make an unremovable file.
authorJunio C Hamano <junkio@cox.net>
Thu, 13 Apr 2006 18:57:57 +0000 (11:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 13 Apr 2006 18:57:57 +0000 (11:57 -0700)
commit2283645b85dc91ca958b05066511083255a8612a
tree9eab1486e295d89481f22d5bfc83d3b17e1c482a
parentf43ba60e2c3bec4925eee229fa0f420dd1296f0c
t3600-rm: skip failed-remove test when we cannot make an unremovable file.

When running t3600-rm test under fakeroot (or as root), we
cannot make a file unremovable with "chmod a-w .".  Detect this
case early and skip that test.

Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t3600-rm.sh