diff --git a/run-tests.php b/run-tests.php index 1f21b5073f3..13bc192eb2d 100755 --- a/run-tests.php +++ b/run-tests.php @@ -3043,7 +3043,7 @@ function generate_diff_external(string $diff_cmd, string $exp_file, string $outp { $retval = shell_exec("{$diff_cmd} {$exp_file} {$output_file}"); - return is_string($retval) ? $retval : 'Could not run external diff tool set through PHP_TEST_DIFF_CMD environment variable'; + return is_string($retval) ? $retval : 'Could not run external diff tool set through TEST_PHP_DIFF_CMD environment variable'; } function generate_diff(string $wanted, ?string $wanted_re, string $output): string