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

fix regression tests for better checks

parent aa4e14eb
No related branches found
No related tags found
No related merge requests found
......@@ -81,18 +81,11 @@ expect {
set job_id $expect_out(1,string)
exp_continue
}
-re "(uid=.*\n)" {
-re "(uid=.*\\)\r\n)" {
set job_grp_info $expect_out(1,string)
set got_job_grps 1
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 {
send_user "\nFAILURE: salloc not responding\n"
if {$job_id != 0} {
......
......@@ -82,7 +82,7 @@ proc run_job { part_name } {
#
spawn $scontrol show part
expect {
-re "PartitionName=($alpha_numeric_under) " {
-re "PartitionName=($alpha_numeric_under)" {
if {[string compare $part_name ""] == 0} {
set part_name $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