Clean unused needles.
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 746,
|
||||
"ypos": 41,
|
||||
"width": 126,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_add_network_folder"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 95 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 599,
|
||||
"ypos": 201,
|
||||
"width": 66,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_button_connect"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 134 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 607,
|
||||
"ypos": 734,
|
||||
"width": 66,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_button_connect"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 61 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 60,
|
||||
"ypos": 331,
|
||||
"width": 131,
|
||||
"height": 19,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_ftp_localhost"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 42 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 253,
|
||||
"ypos": 163,
|
||||
"width": 87,
|
||||
"height": 67,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_test_file"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 47 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 217,
|
||||
"ypos": 736,
|
||||
"width": 82,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_location_line"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 29 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 39,
|
||||
"ypos": 307,
|
||||
"width": 40,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_maps_unfold"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 63 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"ypos": 106,
|
||||
"height": 61,
|
||||
"type": "match",
|
||||
"width": 71,
|
||||
"xpos": 572
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_open_location"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 636 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 605,
|
||||
"ypos": 106,
|
||||
"width": 71,
|
||||
"height": 61,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_open_location"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 92 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 6,
|
||||
"ypos": 188,
|
||||
"width": 82,
|
||||
"height": 21,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_open_network"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 79 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 40,
|
||||
"ypos": 498,
|
||||
"width": 112,
|
||||
"height": 20,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_other_location"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 67 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 43,
|
||||
"ypos": 258,
|
||||
"width": 69,
|
||||
"height": 18,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_passwords_unfold"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 54 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 428,
|
||||
"ypos": 565,
|
||||
"width": 125,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_remember_forever"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 134 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 404,
|
||||
"ypos": 468,
|
||||
"width": 132,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_remember_password"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 128 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 689,
|
||||
"ypos": 436,
|
||||
"width": 21,
|
||||
"height": 14,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_reveal_password"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 275 KiB |
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 668,
|
||||
"ypos": 578,
|
||||
"width": 100,
|
||||
"height": 17,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_save_connect",
|
||||
"keyring_save_next"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 93 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 384,
|
||||
"ypos": 122,
|
||||
"width": 130,
|
||||
"height": 19,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_seahorse_details"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 20 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 189,
|
||||
"ypos": 261,
|
||||
"width": 27,
|
||||
"height": 15,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_select_ftp"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 194 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 508,
|
||||
"ypos": 356,
|
||||
"width": 76,
|
||||
"height": 23,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_select_registered"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 46 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 446,
|
||||
"ypos": 236,
|
||||
"width": 105,
|
||||
"height": 22,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_show_values"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 93 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 286,
|
||||
"ypos": 117,
|
||||
"width": 77,
|
||||
"height": 50,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"keyring_test_file"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 59 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 707,
|
||||
"ypos": 577,
|
||||
"width": 46,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"kde_button_next"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 90 KiB |
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 563,
|
||||
"ypos": 502,
|
||||
"width": 42,
|
||||
"height": 16,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"kde_button_ok"
|
||||
]
|
||||
}
|
Before Width: | Height: | Size: 132 KiB |
|
@ -26,7 +26,7 @@ sub run {
|
|||
|
||||
# Check that it is running (the assertion will fail if not)
|
||||
assert_script_run("systemctl status sshd.service --no-pager");
|
||||
|
||||
|
||||
# Create the SSH keys for the user.
|
||||
# Change to the normal user
|
||||
enter_cmd("su -l $user");
|
||||
|
|
|
@ -29,7 +29,7 @@ sub connect_localhost {
|
|||
}
|
||||
assert_screen("nautilus_connection_established");
|
||||
send_key("alt-f4");
|
||||
}
|
||||
}
|
||||
else {
|
||||
die("Unknown desktop");
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ sub run {
|
|||
type_very_safely("$pass\n");
|
||||
wait_still_screen(3);
|
||||
send_key("esc");
|
||||
|
||||
|
||||
# Reconnect without using password. We still should be
|
||||
# able to log in.
|
||||
connect_localhost("reconnect");
|
||||
|
|
|
@ -76,7 +76,7 @@ sub run {
|
|||
|
||||
# Check that it is running (the assertion will fail if not)
|
||||
assert_script_run("systemctl status sshd.service --no-pager");
|
||||
|
||||
|
||||
# Authorize the SSH key.
|
||||
enter_cmd("su -l $user");
|
||||
enter_cmd('echo $(cat ~/.ssh/id_ed25519.pub) > ~/.ssh/authorized_keys');
|
||||
|
@ -96,7 +96,7 @@ sub run {
|
|||
type_very_safely("$pass\n");
|
||||
wait_still_screen(3);
|
||||
send_key("esc");
|
||||
|
||||
|
||||
# Reconnect without using password. We still should be
|
||||
# able to log in.
|
||||
connect_localhost("reconnect");
|
||||
|
|
|
@ -1,83 +0,0 @@
|
|||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This script will check that the password has been added
|
||||
# to the system keyring. We will start a wallet application
|
||||
# and check that the password is listed in that application.
|
||||
|
||||
sub ssh_login_localhost {
|
||||
my ($user, $pass, $cli) = @_;
|
||||
menu_launch_type($cli);
|
||||
if ($cli eq "gnome") {
|
||||
assert_screen("apps_run_terminal");
|
||||
}
|
||||
else {
|
||||
assert_screen("konsole_runs");
|
||||
}
|
||||
|
||||
# Log to the localhost using the SSH.
|
||||
enter_cmd("ssh ${user}@localhost");
|
||||
# Confirm to safe the host to known hosts.
|
||||
type_very_safely("yes\n");
|
||||
sleep 1;
|
||||
# Type the password
|
||||
type_very_safely("$pass\n");
|
||||
sleep 1;
|
||||
enter_cmd("clear");
|
||||
# Check who is logged in.
|
||||
enter_cmd("who");
|
||||
# Check that multiple instances are logged in.
|
||||
assert_screen("keyring_multiple_instances");
|
||||
# Log out of ssh
|
||||
enter_cmd("exit");
|
||||
}
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
my $desktop = get_var("DESKTOP");
|
||||
my $user = get_var("USER_LOGIN", "test");
|
||||
|
||||
if ($desktop eq "kde") {
|
||||
# Start the Konsole
|
||||
# Start the KDE wallet application and maximize it.
|
||||
menu_launch_type("kwalletmanager");
|
||||
assert_screen("kwalletmanager_runs");
|
||||
send_key("super-pgup");
|
||||
|
||||
# Navigate to the stored entry and check that
|
||||
# the credentials are stored there.
|
||||
assert_and_dclick("keyring_passwords_unfold");
|
||||
assert_and_dclick("keyring_maps_unfold");
|
||||
assert_and_click("keyring_ftp_localhost");
|
||||
assert_and_click("keyring_show_values");
|
||||
assert_screen("keyring_keys_values");
|
||||
}
|
||||
else {
|
||||
# Start the Seahorse application and maximize it.
|
||||
menu_launch_type("seahorse");
|
||||
assert_screen("apps_run_seahorse");
|
||||
send_key("super-up");
|
||||
|
||||
# Navigate to the stored entry and check
|
||||
# that the credentials are stored there.
|
||||
assert_and_click("keyring_seahorse_login");
|
||||
assert_and_dclick("keyring_seahorse_details");
|
||||
assert_screen("keyring_seahorse_details_shown");
|
||||
assert_and_click("keyring_seahorse_show_password");
|
||||
assert_screen("keyring_seahorse_password_shown");
|
||||
}
|
||||
|
||||
# Reboot the machine.
|
||||
$self->root_console(tty => 3);
|
||||
enter_cmd("reboot");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1, milestone => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|