Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions test/_global/uv_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,7 @@ set -e
. dev-container-features-test-lib

# The 'check' command comes from the dev-container-features-test-lib.
check "check uv version"

UV_PATH="${HOME}/.local/bin/uv"

if [ -x "${UV_PATH}" ]; then
"${UV_PATH}" --version
elif command -v uv >/dev/null 2>&1; then
uv --version
else
echo "uv is not installed"
exit 1
fi
check "check uv version" /root/.local/bin/uv --version

# Report result
# If any of the checks above exited with a non-zero exit code, the test will fail.
Expand Down
15 changes: 3 additions & 12 deletions test/uv/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,10 @@ set -e
# shellcheck source=/dev/null
. dev-container-features-test-lib

export PATH="${HOME}/.local/bin:${PATH}"

# The 'check' command comes from the dev-container-features-test-lib.
check "check uv version"

UV_PATH="${HOME}/.local/bin/uv"

if [ -x "${UV_PATH}" ]; then
"${UV_PATH}" --version
elif command -v uv >/dev/null 2>&1; then
uv --version
else
echo "uv is not installed"
exit 1
fi
check "check uv version" uv --version

# Report result
# If any of the checks above exited with a non-zero exit code, the test will fail.
Expand Down
Loading