mirror of
https://github.com/git/git.git
synced 2025-03-23 03:56:40 +00:00
t9200: do not test -x bit if the filesystem does not support it.
The last test in t9200 wants to see if executable bit is retained, which has no chance of succeeding on a filesystem that does not handle executable bit correctly. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
1a91ebf917
commit
3c23d66fc3
@ -197,6 +197,10 @@ test_expect_success \
|
||||
! git-cvsexportcommit -c $id
|
||||
)'
|
||||
|
||||
case "$(git repo-config --bool core.filemode)" in
|
||||
false)
|
||||
;;
|
||||
*)
|
||||
test_expect_success \
|
||||
'Retain execute bit' \
|
||||
'mkdir G &&
|
||||
@ -211,5 +215,7 @@ test_expect_success \
|
||||
test -x G/on &&
|
||||
! test -x G/off
|
||||
)'
|
||||
;;
|
||||
esac
|
||||
|
||||
test_done
|
||||
|
Loading…
x
Reference in New Issue
Block a user