From 2ffb236b86c923b797564a393d5b0b226cfae05f Mon Sep 17 00:00:00 2001
From: catch <6915-catch@users.noreply.drupalcode.org>
Date: Fri, 20 Sep 2024 22:12:35 +0100
Subject: [PATCH] Issue #3465154 by yujiman85, n-m-daz, nod_: Update
 run-tests.sh help output to match current test organization

(cherry picked from commit c091da9159c48400f865cc568d451395ee2e41b7)
---
 core/scripts/run-tests.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh
index b90ef0cd3484..ef0538d4f3fb 100755
--- a/core/scripts/run-tests.sh
+++ b/core/scripts/run-tests.sh
@@ -290,8 +290,8 @@ function simpletest_script_help() {
 
   --file      Run tests identified by specific file names, instead of group names.
               Specify the path and the extension
-              (i.e. 'core/modules/user/user.test'). This argument must be last
-              on the command line.
+              (i.e. 'core/modules/user/tests/src/Functional/UserCreateTest.php').
+              This argument must be last on the command line.
 
   --types
 
@@ -360,7 +360,7 @@ function simpletest_script_help() {
 sudo -u [wwwrun|www-data|etc] php ./core/scripts/{$args['script']}
   --url http://example.com/ --all
 sudo -u [wwwrun|www-data|etc] php ./core/scripts/{$args['script']}
-  --url http://example.com/ --class Drupal\block\Tests\BlockTest
+  --url http://example.com/ --class Drupal\Tests\block\Functional\BlockTest
 
 Without a preinstalled Drupal site, specify a SQLite database pathname to create
 and the default database connection info to use in tests:
-- 
GitLab