summaryrefslogtreecommitdiff
path: root/scripts/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-tests.sh')
-rwxr-xr-xscripts/run-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
index 15a703714..af57336db 100755
--- a/scripts/run-tests.sh
+++ b/scripts/run-tests.sh
@@ -423,7 +423,7 @@ function simpletest_script_reporter_init() {
echo "\n";
}
- echo "Test run started: " . format_date(time(), 'long') . "\n";
+ echo "Test run started: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
echo "\n";
echo "Test summary:\n";
@@ -438,7 +438,7 @@ function simpletest_script_reporter_display_results() {
global $args, $test_id, $results_map;
echo "\n";
- echo "Test run ended: " . format_date(time(), 'long') . "\n";
+ echo "Test run ended: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
echo "\n";
if ($args['verbose']) {