summaryrefslogtreecommitdiff
path: root/scripts/run-tests.sh
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
committerDries Buytaert <dries@buytaert.net>2008-12-30 16:43:20 +0000
commit92a8adea653b29a9e6ee7778e8628f57b959ca4f (patch)
tree0fd5b18555aff73bfe4bc5aa3479db3090ad4cf8 /scripts/run-tests.sh
parentcac5dd8a66a07887aca4c4730d56978eaf26c70b (diff)
downloadbrdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.gz
brdo-92a8adea653b29a9e6ee7778e8628f57b959ca4f.tar.bz2
- Patch #352470 by scor: fixed typos and grammar in comments.
Diffstat (limited to 'scripts/run-tests.sh')
-rwxr-xr-xscripts/run-tests.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index fe1dd6464..f6ecf651b 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -23,7 +23,7 @@ if ($args['execute-batch']) {
simpletest_script_execute_batch();
}
-// Bootstrap to perform initial validation or other opperations.
+// Bootstrap to perform initial validation or other operations.
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
if (!module_exists('simpletest')) {
simpletest_script_print_error("The simpletest module must be enabled before this script can run.");
@@ -49,7 +49,7 @@ $groups = simpletest_categorize_tests($all_tests);
$test_list = array();
if ($args['list']) {
- // Display all availabe tests.
+ // Display all available tests.
echo "\nAvailable test groups & classes\n";
echo "-------------------------------\n\n";
foreach ($groups as $group => $tests) {
@@ -194,7 +194,7 @@ function simpletest_script_parse_args() {
else {
$args[$matches[1]] = array_shift($_SERVER['argv']);
}
- // Clear an extrenious values.
+ // Clear extraneous values.
$args['test_names'] = array();
$count++;
}
@@ -339,7 +339,7 @@ function simpletest_script_execute_batch() {
}
/**
- * Run a single test (assume a Drupal bootstrapped environnement).
+ * Run a single test (assume a Drupal bootstrapped environment).
*/
function simpletest_script_run_one_test($test_id, $test_class) {
simpletest_get_all_tests();
@@ -367,7 +367,7 @@ function simpletest_script_command($concurrency, $test_id, $tests) {
}
/**
- * Get list of tests based on arguments. If --all specfied then
+ * Get list of tests based on arguments. If --all specified then
* returns all available tests, otherwise reads list of tests.
*
* Will print error and exit if no valid tests were found.