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

Modify version check to just look for slurm v1.4 rather than a specific micro release

parent a75bf79e
No related branches found
No related tags found
No related merge requests found
...@@ -223,7 +223,7 @@ proc sreport_opt { soption } { ...@@ -223,7 +223,7 @@ proc sreport_opt { soption } {
set not_support 1 set not_support 1
exp_continue exp_continue
} }
-re "slurm 1.4.0-pre8" { -re "slurm 1.4" {
if {$debug} {send_user "\nmatch9\n"} if {$debug} {send_user "\nmatch9\n"}
incr matches incr matches
exp_continue exp_continue
...@@ -308,7 +308,7 @@ if {$matches != 2} { ...@@ -308,7 +308,7 @@ if {$matches != 2} {
set matches [sreport_opt V ] set matches [sreport_opt V ]
if {$matches != 1} { if {$matches != 1} {
send_user "\nFAILURE: sreport -v failed ($matches)\n" send_user "\nFAILURE: sreport -V failed ($matches)\n"
set exit_code 1 set exit_code 1
} }
......
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