Use tty2 not tty3 for freeipa_client login tests
There's an issue where the follow-on _advisory_post test tries to log in before the 'login failed' error has cleared. We can easily avoid this by using tty2 for the login tests, then _advisory_post will switch to tty3 for its stuff.
This commit is contained in:
parent
b6d4fd7d4c
commit
4f014d4f11
@ -20,8 +20,8 @@ sub run {
|
||||
validate_script_output 'klist -k', sub { $_ =~ m/$qhost\@DOMAIN\.LOCAL/ };
|
||||
# check we can kinit with the host principal
|
||||
assert_script_run "kinit -k host/$hostname\@DOMAIN.LOCAL";
|
||||
# switch to tty3
|
||||
send_key "ctrl-alt-f3";
|
||||
# switch to tty2 for login tests
|
||||
send_key "ctrl-alt-f2";
|
||||
# try and login as test1, should work
|
||||
console_login(user=>'test1@DOMAIN.LOCAL', password=>'batterystaple');
|
||||
type_string "exit\n";
|
||||
|
Loading…
Reference in New Issue
Block a user