From 3f0e06baeab54164b583f072168dc91f32089fb4 Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Tue, 2 Oct 2012 12:09:06 -0700 Subject: [PATCH] POE: Modify test to work with POE and configuration where smallest allocation is >1 CPU --- testsuite/expect/test1.86 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testsuite/expect/test1.86 b/testsuite/expect/test1.86 index 9d277903d64..1c427c8d368 100755 --- a/testsuite/expect/test1.86 +++ b/testsuite/expect/test1.86 @@ -431,6 +431,10 @@ if {[string compare $test_0 $test_1] != 0} { set processors 1 send "$srun -l -c1 $bin_printenv $node_name_env\r" expect { + -re "($number)-($number):($alpha_numeric_under)" { + set processors [expr $processors + $expect_out(2,string) - $expect_out(1,string) + 1] + exp_continue + } -re "($number): *($alpha_numeric_under)" { incr processors exp_continue -- GitLab