Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-01 01:25:52 +0300
committerJunio C Hamano <junkio@cox.net>2007-02-01 01:25:52 +0300
commit3c23d66fc30e8805a2b66708acd3f0da921085ba (patch)
tree3bbca0ebfb820914dc009a01ea926b5a56513100 /t
parent1a91ebf917448bcd79d2f9383d898c94ba4953ad (diff)
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>
Diffstat (limited to 't')
-rwxr-xr-xt/t9200-git-cvsexportcommit.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh
index cc0a254a16..c443f32fce 100755
--- a/t/t9200-git-cvsexportcommit.sh
+++ b/t/t9200-git-cvsexportcommit.sh
@@ -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