Skip to content
Snippets Groups Projects
Commit 4bd82b7b authored by Danny Auble's avatar Danny Auble
Browse files

other fixes

parent 8e2f38c2
No related branches found
No related tags found
No related merge requests found
...@@ -93,7 +93,7 @@ proc sinfo_test_1 { node proc_cnt total_procs idle_cpus } { ...@@ -93,7 +93,7 @@ proc sinfo_test_1 { node proc_cnt total_procs idle_cpus } {
set found 0 set found 0
set rc 0 set rc 0
send "$sinfo -h -o \"%C %A %N\" -n $node \n" send "$sinfo -o '%C %A %N' -h -n $node \n"
expect { expect {
-re "($number)(k?).($number)(k?).($number)(k?).($number)(k?) ($number)(k?).($number)(k?) $node" { -re "($number)(k?).($number)(k?).($number)(k?).($number)(k?) ($number)(k?).($number)(k?) $node" {
set found 1 set found 1
...@@ -164,7 +164,7 @@ proc sinfo_test_2 { node proc_cnt total_procs } { ...@@ -164,7 +164,7 @@ proc sinfo_test_2 { node proc_cnt total_procs } {
} }
set idle_nodes [expr $total_nodes - $alloc_nodes] set idle_nodes [expr $total_nodes - $alloc_nodes]
send "$sinfo -h -o \"%t %D %N\" -n $node \n" send "$sinfo -o '%t %D %N' -h -n $node \n"
expect { expect {
-re "alloc ($number)(k?) $node" { -re "alloc ($number)(k?) $node" {
set num_alloc $expect_out(1,string) set num_alloc $expect_out(1,string)
......
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