Skip to content
Snippets Groups Projects
Commit 1bec00a2 authored by Moe Jette's avatar Moe Jette
Browse files

Tweak checkpoint/blcr and test11.5 to operate properly together

parent 49796b9b
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ extern int slurm_ckpt_comp ( struct step_record * step_ptr, time_t event_time,
uint32_t error_code, char *error_msg )
{
error("checkpoint/blcr: slurm_ckpt_comp not implemented");
return SLURM_FAILURE;
return ESLURM_NOT_SUPPORTED;
}
extern int slurm_ckpt_task_comp ( struct step_record * step_ptr,
......@@ -320,7 +320,7 @@ extern int slurm_ckpt_task_comp ( struct step_record * step_ptr,
uint32_t error_code, char *error_msg )
{
error("checkpoint/blcr: slurm_ckpt_task_comp not implemented");
return SLURM_FAILURE;
return ESLURM_NOT_SUPPORTED;
}
extern int slurm_ckpt_alloc_job(check_jobinfo_t *jobinfo)
......
......@@ -180,7 +180,7 @@ expect {
set matches 0
spawn $scontrol check able $job_id.0
expect {
-re "Began at" {
-re "(Yes|Began at)" {
incr matches
exp_continue
}
......@@ -221,6 +221,11 @@ expect {
incr matches
exp_continue
}
-re "Job step not running" {
send_user "\nNot a problem if the checkpoint completed\n"
incr matches
exp_continue
}
-re "Requested operation not supported on this system" {
incr matches
exp_continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment