diff --git a/testsuite/expect/globals b/testsuite/expect/globals index a1b087d30cd2d8cd07bfebffe4322983259aee83..e65d542e6c7576ba0da7da4a8d4c20531530be92 100755 --- a/testsuite/expect/globals +++ b/testsuite/expect/globals @@ -1891,12 +1891,12 @@ proc available_nodes { partition state } { set partition [default_partition] } - if {[string length state] == 0} { + if {[string length $state] == 0} { set state "idle,alloc,comp" } set available -1 - #send_user "$sinfo --noheader --partition $partition --state idle,alloc,comp --format %D\n" + #send_user "$sinfo --noheader --partition $partition --state $state --format %D\n" set fd [open "|$sinfo --noheader --partition $partition --state $state --format %D"] gets $fd line catch {close $fd}