File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -467,6 +467,8 @@ mod test {
467
467
468
468
#[ test]
469
469
fn credential_helper4 ( ) {
470
+ if cfg ! ( windows) { return } // shell scripts don't work on Windows
471
+
470
472
let td = TempDir :: new ( "git2-rs" ) . unwrap ( ) ;
471
473
let path = td. path ( ) . join ( "script" ) ;
472
474
File :: create ( & path) . unwrap ( ) . write ( br"\
@@ -488,6 +490,7 @@ echo username=c
488
490
489
491
#[ test]
490
492
fn credential_helper5 ( ) {
493
+ if cfg ! ( windows) { return } // shell scripts don't work on Windows
491
494
let td = TempDir :: new ( "git2-rs" ) . unwrap ( ) ;
492
495
let path = td. path ( ) . join ( "git-credential-script" ) ;
493
496
File :: create ( & path) . unwrap ( ) . write ( br"\
@@ -524,6 +527,7 @@ echo username=c
524
527
525
528
#[ test]
526
529
fn credential_helper7 ( ) {
530
+ if cfg ! ( windows) { return } // shell scripts don't work on Windows
527
531
let td = TempDir :: new ( "git2-rs" ) . unwrap ( ) ;
528
532
let path = td. path ( ) . join ( "script" ) ;
529
533
File :: create ( & path) . unwrap ( ) . write ( br"\
You can’t perform that action at this time.
0 commit comments