File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -702,33 +702,6 @@ fn toolchains_symlink() {
702
702
} ) ;
703
703
}
704
704
705
- // issue #3344
706
- /// `~/.rustup/tmp` and `~/.rustup/downloads` are permitted to be symlinks.
707
- #[ test]
708
- #[ cfg( any( unix, windows) ) ]
709
- fn tmp_downloads_symlink ( ) {
710
- use rustup:: utils:: raw:: symlink_dir;
711
- use std:: fs;
712
-
713
- clitools:: test ( Scenario :: ArchivesV2 , & |config| {
714
- let cwd = config. current_dir ( ) ;
715
-
716
- let test_tmp = cwd. join ( "tmp-test" ) ;
717
- fs:: create_dir ( & test_tmp) . unwrap ( ) ;
718
- symlink_dir ( & test_tmp, & config. rustupdir . join ( "tmp" ) ) . unwrap ( ) ;
719
-
720
- let test_downloads = cwd. join ( "tmp-downloads" ) ;
721
- fs:: create_dir ( & test_downloads) . unwrap ( ) ;
722
- symlink_dir ( & test_downloads, & config. rustupdir . join ( "downloads" ) ) . unwrap ( ) ;
723
-
724
- set_current_dist_date ( config, "2015-01-01" ) ;
725
- config. expect_ok ( & [ "rustup" , "default" , "nightly" ] ) ;
726
-
727
- set_current_dist_date ( config, "2015-01-02" ) ;
728
- config. expect_ok ( & [ "rustup" , "update" ] ) ;
729
- } ) ;
730
- }
731
-
732
705
// issue #1169
733
706
/// A toolchain that is a stale symlink should be correctly uninstalled.
734
707
#[ test]
You can’t perform that action at this time.
0 commit comments