diff --git a/src/srun/libsrun/launch.c b/src/srun/libsrun/launch.c index 0a3fcaf3b108eb1acf169bd76899d88cb96feaec..c589ed39b12075bdfcb548b872854b1dd9cce440 100644 --- a/src/srun/libsrun/launch.c +++ b/src/srun/libsrun/launch.c @@ -350,7 +350,7 @@ extern int launch_common_create_job_step(srun_job_t *job, bool use_all_cpus, (rc != SLURM_PROTOCOL_SOCKET_IMPL_TIMEOUT) && (rc != ESLURM_INTERCONNECT_BUSY) && (rc != ESLURM_DISABLED))) { - error("Unable to create job %u step: %m", + error("Unable to create step for job %u: %m", job->ctx_params.job_id); return SLURM_ERROR; } diff --git a/testsuite/expect/test1.14 b/testsuite/expect/test1.14 index 4cc2ce44a64477e2c32faab9f54f1d7a04aba0cd..6eb939d4c4bfcf973cbf8c31fc9517db78beec7f 100755 --- a/testsuite/expect/test1.14 +++ b/testsuite/expect/test1.14 @@ -220,7 +220,7 @@ expect { set exit_code 1 exp_continue } - -re "Unable to create job step" { + -re "Unable to create " { send_user "This error was expected, no worries\n" incr matches exp_continue