Commits

Anonymous committed 3c23d66

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>

  • Participants
  • Parent commits 1a91ebf

Comments (0)

Files changed (1)

File t/t9200-git-cvsexportcommit.sh

       ! git-cvsexportcommit -c $id
       )'
 
+case "$(git repo-config --bool core.filemode)" in
+false)
+	;;
+*)
 test_expect_success \
      'Retain execute bit' \
      'mkdir G &&
       test -x G/on &&
       ! test -x G/off
       )'
+	;;
+esac
 
 test_done