@@ -110,10 +110,6 @@ class GitRepositoryTests: XCTestCase {
110
110
111
111
/// Check hash validation.
112
112
func testGitRepositoryHash( ) throws {
113
- try skipOnWindowsAsTestCurrentlyFails ( because: """
114
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
115
- """ )
116
-
117
113
let validHash = " 0123456789012345678901234567890123456789 "
118
114
XCTAssertNotEqual ( GitRepository . Hash ( validHash) , nil )
119
115
@@ -190,10 +186,6 @@ class GitRepositoryTests: XCTestCase {
190
186
}
191
187
192
188
func testSubmoduleRead( ) throws {
193
- try skipOnWindowsAsTestCurrentlyFails ( because: """
194
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
195
- """ )
196
-
197
189
try testWithTemporaryDirectory { path in
198
190
let testRepoPath = path. appending ( " test-repo " )
199
191
try makeDirectories ( testRepoPath)
@@ -305,10 +297,6 @@ class GitRepositoryTests: XCTestCase {
305
297
306
298
/// Test the handling of local checkouts.
307
299
func testCheckouts( ) throws {
308
- try skipOnWindowsAsTestCurrentlyFails ( because: """
309
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
310
- """ )
311
-
312
300
try testWithTemporaryDirectory { path in
313
301
// Create a test repository.
314
302
let testRepoPath = path. appending ( " test-repo " )
@@ -355,10 +343,6 @@ class GitRepositoryTests: XCTestCase {
355
343
}
356
344
357
345
func testFetch( ) throws {
358
- try skipOnWindowsAsTestCurrentlyFails ( because: """
359
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
360
- """ )
361
-
362
346
try testWithTemporaryDirectory { path in
363
347
// Create a repo.
364
348
let testRepoPath = path. appending ( " test-repo " )
@@ -398,10 +382,6 @@ class GitRepositoryTests: XCTestCase {
398
382
}
399
383
400
384
func testHasUnpushedCommits( ) throws {
401
- try skipOnWindowsAsTestCurrentlyFails ( because: """
402
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
403
- """ )
404
-
405
385
try testWithTemporaryDirectory { path in
406
386
// Create a repo.
407
387
let testRepoPath = path. appending ( " test-repo " )
@@ -438,10 +418,6 @@ class GitRepositoryTests: XCTestCase {
438
418
}
439
419
440
420
func testSetRemote( ) throws {
441
- try skipOnWindowsAsTestCurrentlyFails ( because: """
442
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
443
- """ )
444
-
445
421
try testWithTemporaryDirectory { path in
446
422
// Create a repo.
447
423
let testRepoPath = path. appending ( " test-repo " )
@@ -554,10 +530,6 @@ class GitRepositoryTests: XCTestCase {
554
530
}
555
531
556
532
func testCheckoutRevision( ) throws {
557
- try skipOnWindowsAsTestCurrentlyFails ( because: """
558
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
559
- """ )
560
-
561
533
try testWithTemporaryDirectory { path in
562
534
// Create a repo.
563
535
let testRepoPath = path. appending ( " test-repo " )
@@ -690,8 +662,6 @@ class GitRepositoryTests: XCTestCase {
690
662
}
691
663
692
664
func testAlternativeObjectStoreValidation( ) throws {
693
- try skipOnWindowsAsTestCurrentlyFails ( because: " test might hang in CI " )
694
-
695
665
try testWithTemporaryDirectory { path in
696
666
// Create a repo.
697
667
let testRepoPath = path. appending ( " test-repo " )
@@ -762,10 +732,6 @@ class GitRepositoryTests: XCTestCase {
762
732
}
763
733
764
734
func testMissingDefaultBranch( ) throws {
765
- try skipOnWindowsAsTestCurrentlyFails ( because: """
766
- Test failed with: 0 [main] sh (9736) C: \\ Program Files \\ Git \\ usr \\ bin \\ sh.exe: *** fatal error - add_item ( " \\ ?? \\ C: \\ Program Files \\ Git " , " / " , ...) failed, errno 1
767
- """ )
768
-
769
735
try testWithTemporaryDirectory { path in
770
736
// Create a repository.
771
737
let testRepoPath = path. appending ( " test-repo " )
0 commit comments