Fix GCE typo in test output

This commit is contained in:
Odin Ugedal 2019-08-17 13:11:19 +02:00
parent 4e7fd98763
commit 4f31d322a4
No known key found for this signature in database
GPG Key ID: AFF9C8242CF7A7AF
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ if [ "${remote}" = true ] ; then
else
# Refresh sudo credentials if needed
if ping -c 1 -q metadata.google.internal &> /dev/null; then
echo 'Running on CGE, not asking for sudo credentials'
echo 'Running on GCE, not asking for sudo credentials'
elif sudo --non-interactive "$(which bash)" -c true 2> /dev/null; then
# if we can run bash without a password, it's a pretty safe bet that either
# we can run any command without a password, or that sudo credentials

View File

@ -26,7 +26,7 @@
# Refresh sudo credentials if needed
if ping -c 1 -q metadata.google.internal &> /dev/null; then
echo 'Running on CGE, not asking for sudo credentials'
echo 'Running on GCE, not asking for sudo credentials'
elif sudo --non-interactive "$(which bash)" -c true 2> /dev/null; then
# if we can run bash without a password, it's a pretty safe bet that either
# we can run any command without a password, or that sudo credentials