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

fixed test for newer versions of expect

parent 46c5b236
No related branches found
No related tags found
No related merge requests found
...@@ -86,6 +86,13 @@ expect { ...@@ -86,6 +86,13 @@ expect {
set got_job_grps 1 set got_job_grps 1
exp_continue exp_continue
} }
-re "salloc: Relinquishing job allocation" {
# this needs to be here so it doesn't get latched onto
# the previous check and mess the test up.
# This issue appears in later versions of expect.
exp_continue
}
timeout { timeout {
send_user "\nFAILURE: salloc not responding\n" send_user "\nFAILURE: salloc not responding\n"
if {$job_id != 0} { if {$job_id != 0} {
...@@ -108,7 +115,7 @@ if {$got_job_grps == 0} { ...@@ -108,7 +115,7 @@ if {$got_job_grps == 0} {
# Confirm the user id and group id in the slurm job matches that # Confirm the user id and group id in the slurm job matches that
# of the local 'id' execution. # of the local 'id' execution.
# #
if {[string compare $login_grp_info $job_grp_info] != 0} { if {[string compare $login_grp_info $job_grp_info] != 0} {
send_user "\nFAILURE: Login and slurm user info mismatch\n" send_user "\nFAILURE: Login and slurm user info mismatch\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