diff --git a/test/age/pinned_version.sh b/test/age/pinned_version.sh new file mode 100644 index 0000000..5c6e6c9 --- /dev/null +++ b/test/age/pinned_version.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Import the test library +source dev-container-features-test-lib + +check "pinned to 1.2.1" bash -c "age --version | grep -qF '1.2.1'" + +# Report result +reportResults diff --git a/test/age/scenarios.json b/test/age/scenarios.json new file mode 100644 index 0000000..d755151 --- /dev/null +++ b/test/age/scenarios.json @@ -0,0 +1,10 @@ +{ + "pinned_version": { + "image": "ubuntu:24.04", + "features": { + "age": { + "version": "1.2.1" + } + } + } +} diff --git a/test/headless-chrome/pinned_version.sh b/test/headless-chrome/pinned_version.sh new file mode 100644 index 0000000..248e338 --- /dev/null +++ b/test/headless-chrome/pinned_version.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Import the test library +source dev-container-features-test-lib + +check "pinned to 152.0.7977.42" bash -c "chrome-headless-shell --version | grep -qF '152.0.7977.42'" + +# Report result +reportResults diff --git a/test/headless-chrome/scenarios.json b/test/headless-chrome/scenarios.json new file mode 100644 index 0000000..f738a05 --- /dev/null +++ b/test/headless-chrome/scenarios.json @@ -0,0 +1,10 @@ +{ + "pinned_version": { + "image": "ubuntu:24.04", + "features": { + "headless-chrome": { + "version": "152.0.7977.42" + } + } + } +} diff --git a/test/latex/pinned_version.sh b/test/latex/pinned_version.sh new file mode 100644 index 0000000..31ea8e0 --- /dev/null +++ b/test/latex/pinned_version.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Import the test library +source dev-container-features-test-lib + +check "pinned to TeX Live 2024" bash -c "latex --version | grep -qF 'TeX Live 2024'" + +# Report result +reportResults diff --git a/test/latex/scenarios.json b/test/latex/scenarios.json new file mode 100644 index 0000000..51bf31c --- /dev/null +++ b/test/latex/scenarios.json @@ -0,0 +1,11 @@ +{ + "pinned_version": { + "image": "ubuntu:24.04", + "features": { + "latex": { + "version": "2024", + "scheme": "scheme-basic" + } + } + } +} diff --git a/test/sops/pinned_version.sh b/test/sops/pinned_version.sh new file mode 100644 index 0000000..e600f19 --- /dev/null +++ b/test/sops/pinned_version.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Import the test library +source dev-container-features-test-lib + +check "pinned to 3.13.0" bash -c "sops --version | grep -qF '3.13.0'" + +# Report result +reportResults diff --git a/test/sops/scenarios.json b/test/sops/scenarios.json new file mode 100644 index 0000000..c554939 --- /dev/null +++ b/test/sops/scenarios.json @@ -0,0 +1,10 @@ +{ + "pinned_version": { + "image": "ubuntu:24.04", + "features": { + "sops": { + "version": "3.13.0" + } + } + } +} diff --git a/test/uv/pinned_version.sh b/test/uv/pinned_version.sh new file mode 100644 index 0000000..0fdc972 --- /dev/null +++ b/test/uv/pinned_version.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -e + +# Import the test library +source dev-container-features-test-lib + +check "pinned to 0.11.30" bash -c "uv --version | grep -qF '0.11.30'" + +# Report result +reportResults diff --git a/test/uv/scenarios.json b/test/uv/scenarios.json new file mode 100644 index 0000000..4c1f7cd --- /dev/null +++ b/test/uv/scenarios.json @@ -0,0 +1,10 @@ +{ + "pinned_version": { + "image": "ubuntu:24.04", + "features": { + "uv": { + "version": "0.11.30" + } + } + } +}