Skip to content
Snippets Groups Projects
Commit 644fc9a7 authored by Morris Jette's avatar Morris Jette
Browse files

Merge branch 'slurm-2.3'

parents f23f6ccc 455283c2
No related branches found
No related tags found
No related merge requests found
...@@ -111,34 +111,22 @@ set matches 0 ...@@ -111,34 +111,22 @@ set matches 0
if {[wait_for_file $file_err] == 0} { if {[wait_for_file $file_err] == 0} {
spawn $bin_cat $file_err spawn $bin_cat $file_err
expect { expect {
-re "REQUEST_FILE_BCAST.* Permission denied" { -re "error: REQUEST_FILE_BCAST" {
send_user "These errors are expected, no worries\n" send_user "These errors are expected, no worries\n"
incr matches incr matches
exp_continue exp_continue
} }
-re "REQUEST_FILE_BCAST.* Operation not permitted" { -re "ls.* No such file" {
# variation on Permission denied if initgroups() fails
# due to not running slurmd as root
send_user "These errors are expected, no worries\n" send_user "These errors are expected, no worries\n"
incr matches incr matches
exp_continue exp_continue
} }
-re "REQUEST_FILE_BCAST.* File exists" { -re "ls.* does not exist" {
send_user "Vestigial file should be removed\n"
incr matches
exp_continue
}
-re "No such file" {
send_user "These errors are expected, no worries\n"
incr matches
exp_continue
}
-re "does not exist" {
send_user "These errors are expected, no worries\n" send_user "These errors are expected, no worries\n"
incr matches incr matches
exp_continue exp_continue
} }
-re "not found" { -re "ls.* not found" {
send_user "These errors are expected, no worries\n" send_user "These errors are expected, no worries\n"
incr matches incr matches
exp_continue exp_continue
......
...@@ -194,7 +194,7 @@ $srun sleep 10 ...@@ -194,7 +194,7 @@ $srun sleep 10
# Spawn a job via srun using this account # Spawn a job via srun using this account
# #
set job_id3 0 set job_id3 0
spawn $sbatch -N1 -v --account=$test_acct $file_in1 spawn $sbatch -N1 -t1 -v --account=$test_acct $file_in1
expect { expect {
-re "Submitted batch job ($number)" { -re "Submitted batch job ($number)" {
set job_id3 $expect_out(1,string) set job_id3 $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