File tree Expand file tree Collapse file tree 5 files changed +226
-156
lines changed Expand file tree Collapse file tree 5 files changed +226
-156
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ info: note that the toolchain 'nightly-{0}' is currently in use (directory overr
323
323
}
324
324
325
325
#[ test]
326
- fn rustup_xz ( ) {
326
+ fn rustup_zstd ( ) {
327
327
setup ( & |config| {
328
328
set_current_dist_date ( config, "2015-01-01" ) ;
329
329
expect_stderr_ok (
@@ -335,7 +335,7 @@ fn rustup_xz() {
335
335
"nightly" ,
336
336
"--no-self-update" ,
337
337
] ,
338
- for_host ! ( r"dist/2015-01-01/rust-std-nightly-{0}.tar.xz " ) ,
338
+ for_host ! ( r"dist/2015-01-01/rust-std-nightly-{0}.tar.zst " ) ,
339
339
) ;
340
340
} ) ;
341
341
}
Original file line number Diff line number Diff line change @@ -328,7 +328,10 @@ fn bad_sha_on_installer() {
328
328
let file = file. unwrap ( ) ;
329
329
let path = file. path ( ) ;
330
330
let filename = path. to_string_lossy ( ) ;
331
- if filename. ends_with ( ".tar.gz" ) || filename. ends_with ( ".tar.xz" ) {
331
+ if filename. ends_with ( ".tar.gz" )
332
+ || filename. ends_with ( ".tar.xz" )
333
+ || filename. ends_with ( ".tar.zst" )
334
+ {
332
335
rustup:: utils:: raw:: write_file ( & path, "xxx" ) . unwrap ( ) ;
333
336
}
334
337
}
You can’t perform that action at this time.
0 commit comments