From 4640026cc1077232f609caf24c42a7dd477e3f68 Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Sun, 30 Jun 2013 04:32:27 -0700 Subject: [PATCH] Fix spelling mistakes git ls-files | misspellings -f - Source: https://github.com/lyda/misspell-check Change-Id: I7d63578734ca5cc1ec865a7d024c1a013d1ada87 --- HACKING.rst | 2 +- exerciserc | 4 ++-- exercises/boot_from_volume.sh | 2 +- exercises/bundle.sh | 2 +- exercises/client-args.sh | 4 ++-- exercises/client-env.sh | 4 ++-- exercises/euca.sh | 4 ++-- exercises/floating_ips.sh | 2 +- exercises/horizon.sh | 2 +- exercises/quantum-adv-test.sh | 2 +- exercises/sec_groups.sh | 2 +- exercises/swift.sh | 2 +- lib/tempest | 4 ++-- openrc | 2 +- samples/local.sh | 2 +- tools/xen/scripts/install_ubuntu_template.sh | 2 +- 16 files changed, 21 insertions(+), 21 deletions(-) diff --git a/HACKING.rst b/HACKING.rst index 77194a3d41..3fef9509e4 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -174,7 +174,7 @@ These scripts are executed serially by ``exercise.sh`` in testing situations. the script on non-zero exit codes:: # This script exits on an error so that errors don't compound and you see - # only the first error that occured. + # only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exerciserc b/exerciserc index c26ec2ce95..9105fe3331 100644 --- a/exerciserc +++ b/exerciserc @@ -21,10 +21,10 @@ export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))} # Max time to wait for a vm to terminate export TERMINATE_TIMEOUT=${TERMINATE_TIMEOUT:-30} -# Max time to wait for a euca-volume command to propogate +# Max time to wait for a euca-volume command to propagate export VOLUME_TIMEOUT=${VOLUME_TIMEOUT:-30} -# Max time to wait for a euca-delete command to propogate +# Max time to wait for a euca-delete command to propagate export VOLUME_DELETE_TIMEOUT=${SNAPSHOT_DELETE_TIMEOUT:-60} # The size of the volume we want to boot from; some storage back-ends diff --git a/exercises/boot_from_volume.sh b/exercises/boot_from_volume.sh index 14d00492f6..358b3d2579 100755 --- a/exercises/boot_from_volume.sh +++ b/exercises/boot_from_volume.sh @@ -11,7 +11,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/bundle.sh b/exercises/bundle.sh index dce36aa31f..b83678ab1f 100755 --- a/exercises/bundle.sh +++ b/exercises/bundle.sh @@ -10,7 +10,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/client-args.sh b/exercises/client-args.sh index 28f4123863..1e68042cec 100755 --- a/exercises/client-args.sh +++ b/exercises/client-args.sh @@ -2,14 +2,14 @@ # **client-args.sh** -# Test OpenStack client authentication aguemnts handling +# Test OpenStack client authentication arguments handling echo "*********************************************************************" echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/client-env.sh b/exercises/client-env.sh index 147fdfcfea..6c6fe12282 100755 --- a/exercises/client-env.sh +++ b/exercises/client-env.sh @@ -2,14 +2,14 @@ # **client-env.sh** -# Test OpenStack client enviroment variable handling +# Test OpenStack client environment variable handling echo "*********************************************************************" echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/euca.sh b/exercises/euca.sh index 7c590d09d4..ac21b6bf79 100755 --- a/exercises/euca.sh +++ b/exercises/euca.sh @@ -10,7 +10,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers @@ -90,7 +90,7 @@ if [[ "$ENABLED_SERVICES" =~ "c-vol" ]]; then # Test volume has become available if ! timeout $RUNNING_TIMEOUT sh -c "while ! euca-describe-volumes $VOLUME | grep -q available; do sleep 1; done"; then - die $LINENO "volume didnt become available within $RUNNING_TIMEOUT seconds" + die $LINENO "volume didn't become available within $RUNNING_TIMEOUT seconds" fi # Attach volume to an instance diff --git a/exercises/floating_ips.sh b/exercises/floating_ips.sh index ad11a6b793..b741efbeba 100755 --- a/exercises/floating_ips.sh +++ b/exercises/floating_ips.sh @@ -9,7 +9,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/horizon.sh b/exercises/horizon.sh index 5d778c9899..d62ad52123 100755 --- a/exercises/horizon.sh +++ b/exercises/horizon.sh @@ -9,7 +9,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/quantum-adv-test.sh b/exercises/quantum-adv-test.sh index 34f4f62312..abec5e4a1b 100755 --- a/exercises/quantum-adv-test.sh +++ b/exercises/quantum-adv-test.sh @@ -10,7 +10,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errtrace diff --git a/exercises/sec_groups.sh b/exercises/sec_groups.sh index b73afdfd09..6b67291cde 100755 --- a/exercises/sec_groups.sh +++ b/exercises/sec_groups.sh @@ -9,7 +9,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/exercises/swift.sh b/exercises/swift.sh index c4ec3e9095..b9f1b566bb 100755 --- a/exercises/swift.sh +++ b/exercises/swift.sh @@ -9,7 +9,7 @@ echo "Begin DevStack Exercise: $0" echo "*********************************************************************" # This script exits on an error so that errors don't compound and you see -# only the first error that occured. +# only the first error that occurred. set -o errexit # Print the commands being run so that we can see the command that triggers diff --git a/lib/tempest b/lib/tempest index 277c68abcd..f3dcfbb569 100644 --- a/lib/tempest +++ b/lib/tempest @@ -3,7 +3,7 @@ # Dependencies: # ``functions`` file -# ``lib/nova`` service is runing +# ``lib/nova`` service is running # # - ``DEST``, ``FILES`` # - ``ADMIN_PASSWORD`` @@ -78,7 +78,7 @@ function configure_tempest() { # sudo python setup.py deploy # This function exits on an error so that errors don't compound and you see - # only the first error that occured. + # only the first error that occurred. errexit=$(set +o | grep errexit) set -o errexit diff --git a/openrc b/openrc index f1026a50a4..adf92b973c 100644 --- a/openrc +++ b/openrc @@ -37,7 +37,7 @@ source $RC_DIR/lib/tls # The introduction of Keystone to the OpenStack ecosystem has standardized the # term **tenant** as the entity that owns resources. In some places references # still exist to the original Nova term **project** for this use. Also, -# **tenant_name** is prefered to **tenant_id**. +# **tenant_name** is preferred to **tenant_id**. export OS_TENANT_NAME=${OS_TENANT_NAME:-demo} # In addition to the owning entity (tenant), nova stores the entity performing diff --git a/samples/local.sh b/samples/local.sh index 590152593d..970cbb97e0 100755 --- a/samples/local.sh +++ b/samples/local.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Sample ``local.sh`` for user-configurable tasks to run automatically -# at the sucessful conclusion of ``stack.sh``. +# at the successful conclusion of ``stack.sh``. # NOTE: Copy this file to the root ``devstack`` directory for it to # work properly. diff --git a/tools/xen/scripts/install_ubuntu_template.sh b/tools/xen/scripts/install_ubuntu_template.sh index b7a8eff952..5cbe2ac6db 100755 --- a/tools/xen/scripts/install_ubuntu_template.sh +++ b/tools/xen/scripts/install_ubuntu_template.sh @@ -37,7 +37,7 @@ fi builtin_name="Debian Squeeze 6.0 (32-bit)" builtin_uuid=$(xe template-list name-label="$builtin_name" --minimal) if [[ -z $builtin_uuid ]]; then - echo "Cant find the Debian Squeeze 32bit template on your XenServer." + echo "Can't find the Debian Squeeze 32bit template on your XenServer." exit 1 fi