mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
torture: Clarify refusal to run more than one torture test
This commit clarifies error messages -- you only get to run one torture test at a time! Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
de26ca19a5
commit
9eb5188a07
1 changed files with 2 additions and 1 deletions
|
@ -602,8 +602,9 @@ bool torture_init_begin(char *ttype, bool v, int *runnable)
|
||||||
{
|
{
|
||||||
mutex_lock(&fullstop_mutex);
|
mutex_lock(&fullstop_mutex);
|
||||||
if (torture_type != NULL) {
|
if (torture_type != NULL) {
|
||||||
pr_alert("torture_init_begin: refusing %s init: %s running",
|
pr_alert("torture_init_begin: Refusing %s init: %s running.\n",
|
||||||
ttype, torture_type);
|
ttype, torture_type);
|
||||||
|
pr_alert("torture_init_begin: One torture test at a time!\n");
|
||||||
mutex_unlock(&fullstop_mutex);
|
mutex_unlock(&fullstop_mutex);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue