2020-11-26 12:37:32 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
sub run {
|
2023-02-12 22:59:37 +00:00
|
|
|
my $self = shift;
|
2020-11-26 12:37:32 +00:00
|
|
|
# switch to TTY3 for both, graphical and console tests
|
2023-02-12 22:59:37 +00:00
|
|
|
$self->root_console(tty => 3);
|
2020-11-26 12:37:32 +00:00
|
|
|
# The pre-created image has a special file left in the home
|
2023-02-12 22:59:37 +00:00
|
|
|
# directory. This checks that the file has been left there
|
2020-11-26 12:37:32 +00:00
|
|
|
# correctly after system reinstall.
|
|
|
|
assert_script_run "ls /home/home_preserved";
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sub test_flags {
|
2023-02-12 22:59:37 +00:00
|
|
|
return {fatal => 1};
|
2020-11-26 12:37:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|