Skip to content
Snippets Groups Projects
Commit 4656b969 authored by Brian Christiansen's avatar Brian Christiansen
Browse files

TEST12.4: Use correct group id.

Group id was being overwritten by user id.
parent dd4b3c93
No related branches found
No related tags found
No related merge requests found
......@@ -522,49 +522,6 @@ proc sacct_vargs { soption vargs job_id} {
set using_slurmdbd [test_using_slurmdbd]
set cluster [get_cluster_name]
#
# Identify the user and his current default account
#
set acct_name ""
set user_name ""
set user_gid ""
spawn $bin_id -u -n
expect {
-re "($alpha_numeric_under)" {
set user_name $expect_out(1,string)
exp_continue
}
eof {
wait
}
}
spawn $bin_id -u
expect {
-re "($alpha_numeric_under)" {
set user_gid $expect_out(1,string)
exp_continue
}
eof {
wait
}
}
set s_pid [spawn $sacctmgr show user $user_name]
expect {
-re "$user_name *($alpha_numeric_under)" {
set acct_name $expect_out(1,string)
exp_continue
}
timeout {
send_user "FAILURE: sacctmgr add not responding\n"
slow_kill $s_pid
exit 1
}
eof {
wait
}
}
#
# Use sacctmgr to add an account
......
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