Skip to content

Commit

Permalink
Fix most failing parts in NIS test (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro authored and coolo committed Oct 17, 2016
1 parent 657fe74 commit 9487c65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/x11/nis_client.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.

# G-Summary: NIS server-client test
# Summary: NIS server-client test
# https://progress.opensuse.org/issues/9900
# G-Maintainer: Jozef Pupava <jpupava@suse.com>
# Maintainer: Jozef Pupava <jpupava@suse.com>

use base "x11test";
use strict;
Expand Down Expand Up @@ -67,7 +67,7 @@ sub run() {
send_key 'alt-o'; # OK
assert_screen 'nis-client-configuration';
send_key 'alt-f'; # finish
assert_screen 'yast2_closed_xterm_visible';
assert_screen 'yast2_closed_xterm_visible', 90;
script_run 'mount|grep nfs'; # print nfs mounts
script_run 'echo "nfs is working" > /home/nis_user/test'; # create file with text, will be checked by server
type_string "killall xterm\n"; # game over -> xterm
Expand Down
7 changes: 4 additions & 3 deletions tests/x11/nis_server.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.

# G-Summary: NIS server-client test
# Summary: NIS server-client test
# https://progress.opensuse.org/issues/9900
# G-Maintainer: Jozef Pupava <jpupava@suse.com>
# Maintainer: Jozef Pupava <jpupava@suse.com>

use base "x11test";
use strict;
Expand All @@ -31,7 +31,7 @@ sub run() {
send_key 'alt-m'; # NIS master server
wait_still_screen 4;
send_key $cmd{next};
assert_screen 'nis-server-master-server-setup';
assert_screen 'nis-server-master-server-setup', 90;
send_key 'tab'; # jump to NIS domain name
type_string 'nis.openqa.suse.de';
send_key 'alt-a'; # unselect active slave NIS server exists checkbox
Expand All @@ -54,6 +54,7 @@ sub run() {
save_screenshot;
send_key $cmd{next};
send_key 'alt-a'; # add
wait_still_screen 4, 4; # blinking cursor
type_string '255.255.255.0';
send_key 'tab';
type_string '10.0.2.0';
Expand Down

0 comments on commit 9487c65

Please sign in to comment.