diff options
author | Josh Spicer <joshspicer@github.com> | 2022-08-24 00:23:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 00:23:21 +0300 |
commit | f82307ad60514d1e912a9aa2b64204721fe955eb (patch) | |
tree | bc1799743ef7620c3e460d54f77c1fac3003fd4c /test/rust | |
parent | 84f4996643b84c6f3dcd5c3edc72ae176dceaf65 (diff) |
test updates to adopt https://github.com/devcontainers/cli/pull/124 (#114)
* test updates to adopt https://github.com/devcontainers/cli/pull/124
* remove accidental tgz check in
* typo in option
* typo in python install script on dotnet6/jammy branch
* no scenarios
* code review and test name
* Delete install_os_provided_python.sh
Diffstat (limited to 'test/rust')
-rw-r--r-- | test/rust/rust_at_pinned_version.sh | 15 | ||||
-rw-r--r-- | test/rust/scenarios.json | 10 |
2 files changed, 25 insertions, 0 deletions
diff --git a/test/rust/rust_at_pinned_version.sh b/test/rust/rust_at_pinned_version.sh new file mode 100644 index 0000000..2954a7a --- /dev/null +++ b/test/rust/rust_at_pinned_version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "cargo version" cargo --version +check "rustc version" rustc --version +check "correct rust version" rustc --version | grep 1.62.0 + + +# Report result +reportResults
\ No newline at end of file diff --git a/test/rust/scenarios.json b/test/rust/scenarios.json new file mode 100644 index 0000000..4a2d540 --- /dev/null +++ b/test/rust/scenarios.json @@ -0,0 +1,10 @@ +{ + "rust_at_pinned_version": { + "image": "ubuntu:focal", + "features": { + "rust": { + "version": "1.62.0" + } + } + } +}
\ No newline at end of file |