projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a91ebf
)
t9200: do not test -x bit if the filesystem does not support it.
author
Junio C Hamano
<junkio@cox.net>
Wed, 31 Jan 2007 22:25:52 +0000
(14:25 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 31 Jan 2007 22:25:52 +0000
(14:25 -0800)
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>
t/t9200-git-cvsexportcommit.sh
patch
|
blob
|
history
diff --git
a/t/t9200-git-cvsexportcommit.sh
b/t/t9200-git-cvsexportcommit.sh
index cc0a254a1668c5d237ea2515a432e9d984112f42..c443f32fcee0bc8174b7a2a53005eb664cf95190 100755
(executable)
--- 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