summaryrefslogtreecommitdiff
path: root/scripts/run-tests.sh
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-08-07 12:37:24 -0400
committerDries Buytaert <dries@buytaert.net>2011-08-07 12:37:24 -0400
commit132aed379c72f0702dd2e9c27cf9421f1435aba2 (patch)
tree5bd7ae2d6658822f7354963aab3243b58c0885ff /scripts/run-tests.sh
parent1e48014398e19d334bb0b6e5ac517265b575a6f4 (diff)
downloadbrdo-132aed379c72f0702dd2e9c27cf9421f1435aba2.tar.gz
brdo-132aed379c72f0702dd2e9c27cf9421f1435aba2.tar.bz2
- Patch #1240320 by Chi: use __DIR__ instead of dirname(__FILE__).
Diffstat (limited to 'scripts/run-tests.sh')
-rwxr-xr-xscripts/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 02e897e41..dc4f2600f 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -297,7 +297,7 @@ function simpletest_script_init($server_software) {
}
}
- chdir(realpath(dirname(__FILE__) . '/..'));
+ chdir(realpath(__DIR__ . '/..'));
define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
}