[Ubuntu] get rid of post-gen rust script (#4575)

This commit is contained in:
Mikhail Koliada
2021-11-26 12:39:13 +03:00
committed by GitHub
parent 8922c7b5bf
commit af645a7b5e
4 changed files with 15 additions and 30 deletions

View File

@@ -15,6 +15,13 @@ Describe "Bicep" {
}
Describe "Rust" {
BeforeAll {
$env:PATH = "/etc/skel/.cargo/bin:/etc/skel/.rustup/bin:$($env:PATH)"
$env:RUSTUP_HOME = "/etc/skel/.rustup"
$env:CARGO_HOME = "/etc/skel/.cargo"
}
It "Rustup is installed" {
"rustup --version" | Should -ReturnZeroExitCode
}