git-svn: enable logging of information not supported by git
[gitweb.git] / t / t9200-git-cvsexportcommit.sh
index 6e566d44093c5b6fc4a6a891b0ae9473e672b56d..c1024790e41693097d588b3c544a2e4b15ed71bf 100755 (executable)
@@ -142,4 +142,20 @@ test_expect_success \
      diff F/newfile6.png ../F/newfile6.png
      )'
 
+test_expect_success 'Retain execute bit' '
+       mkdir G &&
+       echo executeon >G/on &&
+       chmod +x G/on &&
+       echo executeoff >G/off &&
+       git add G/on &&
+       git add G/off &&
+       git commit -a -m "Execute test" &&
+       (
+               cd "$CVSWORK" &&
+               git-cvsexportcommit -c HEAD
+               test -x G/on &&
+               ! test -x G/off
+       )
+'
+
 test_done