diff --git a/src/salloc/salloc.c b/src/salloc/salloc.c index 7659fb9ce38b229e380a47721d6470f8a6a98dab..3a576dce9905bbdc69b7db9988fdcd8dd7b1b725 100644 --- a/src/salloc/salloc.c +++ b/src/salloc/salloc.c @@ -344,7 +344,7 @@ int main(int argc, char *argv[]) error("Unable to allocate resources: %m"); error_exit = immediate_exit; } else { - error("Failed to allocate resources: %m"); + error("Job submit/allocate failed: %m"); } slurm_allocation_msg_thr_destroy(msg_thr); exit(error_exit); diff --git a/testsuite/expect/test15.10 b/testsuite/expect/test15.10 index c4e4e7fc8a2b582491320007bbcf95e48e057845..4c04eb2f08c5f4281ae0ac5109daa26555955502 100755 --- a/testsuite/expect/test15.10 +++ b/testsuite/expect/test15.10 @@ -54,7 +54,7 @@ for {set inx 1} {$inx < 4} {set inx [expr $inx * 2]} { send "exit\r" exp_continue } - -re "Failed to allocate.*" { + -re "allocate failed" { send_user "\nThis error is not unexpected, no worries\n" set tasks_get $tasks_set }