]> source.dussan.org Git - jgit.git/commit
[test] RepoCommandTest: guard tests for executable files 89/190189/2
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 31 Jan 2022 07:25:44 +0000 (08:25 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 31 Jan 2022 23:05:51 +0000 (00:05 +0100)
commitfbe7f9c2912e058b419848af5e45ca8c7ff4b601
tree110f20246a81f5cfb9ed2c8cfa6b9ac9aa4cd4e6
parent1fd15e40cc7bf67c30849abc3030de8568246a4e
[test] RepoCommandTest: guard tests for executable files

On Windows, java.io.File.canExecute is always true. Guard assertions
testing the executable bit with FS.DETECTED.supportsExecute().

Bug: 550111
Change-Id: I2704d122f5b1086d01a0503a8c047a02ecbc1d4a
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.jgit.test/tst/org/eclipse/jgit/gitrepo/RepoCommandTest.java