mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 23:28:57 +00:00
[Ubuntu] Implement first Pester tests (#2270)
* implement first pester tests * add comment for azcopy test * remove extra importing and old function * resolve comments * fix typo
This commit is contained in:
committed by
GitHub
parent
be672cb22c
commit
2b93b03377
@@ -4,6 +4,8 @@
|
||||
## Desc: Installs AzCopy
|
||||
################################################################################
|
||||
|
||||
source $HELPER_SCRIPTS/invoke-tests.sh
|
||||
|
||||
# Install AzCopy7
|
||||
wget -O azcopy.tar.gz https://aka.ms/downloadazcopylinux64
|
||||
tar -xf azcopy.tar.gz
|
||||
@@ -17,13 +19,4 @@ mv /tmp/azcopy /usr/local/bin/azcopy10
|
||||
chmod +x /usr/local/bin/azcopy10
|
||||
|
||||
# Run tests to determine that the software installed as expected
|
||||
echo "Testing to make sure that script performed as expected, and basic scenarios work"
|
||||
if ! command -v azcopy; then
|
||||
echo "azcopy7 was not installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v azcopy10; then
|
||||
echo "azcopy10 was not installed"
|
||||
exit 1
|
||||
fi
|
||||
invoke_tests "Tools" "azcopy"
|
||||
Reference in New Issue
Block a user