diff --git a/testsuite/expect/test12.4 b/testsuite/expect/test12.4 index 0b038427adbe7333d0574f39cc31b515612556bd..ae87a0c113d1addd0e81edb7a1468122957d598a 100755 --- a/testsuite/expect/test12.4 +++ b/testsuite/expect/test12.4 @@ -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