Skip to content
Snippets Groups Projects
Commit a21212b9 authored by Scott Jackson's avatar Scott Jackson Committed by Albert Gil
Browse files

Testsuite - Improve cancel_job allowing empty jobs list

Bug 10656
parent c47d6f52
No related branches found
No related tags found
No related merge requests found
......@@ -1181,6 +1181,10 @@ proc cancel_job { job_id_list {het_job 0}} {
}
}
if {![llength $job_list_clean]} {
return $::RETURN_SUCCESS
}
log_debug "Cancelling $job_list_clean"
if {[run_command_status "$scancel -Q $job_list_clean"]} {
log_warn "scancel command returned error"
......
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