mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-12 01:44:21 +00:00
Compare commits
No commits in common. "a13cd7a08a3f2b5fab3865303085ff3bd1dff35b" and "179764d49c865ed7bb7be364a70ab740ff6d857b" have entirely different histories.
a13cd7a08a
...
179764d49c
@ -1,12 +1,7 @@
|
|||||||
{
|
{
|
||||||
"properties": [
|
"properties": [],
|
||||||
{
|
|
||||||
"name": "workaround",
|
|
||||||
"value": "Abrt reported issues"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"tags": [
|
"tags": [
|
||||||
"abrt_runs",
|
"abrt_runs_found_problem"
|
||||||
],
|
],
|
||||||
"area": [
|
"area": [
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@ sub run {
|
|||||||
assert_script_run "pushd /root/imgbuild";
|
assert_script_run "pushd /root/imgbuild";
|
||||||
assert_script_run "setenforce Permissive";
|
assert_script_run "setenforce Permissive";
|
||||||
# Fedora pungi config always sets rootfs size to 3GiB since F32
|
# Fedora pungi config always sets rootfs size to 3GiB since F32
|
||||||
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3 --squashfs-only";
|
my $cmd = "lorax -p Fedora -v ${version} -r ${version} --repo=/etc/yum.repos.d/${repo} --rootfs-size 3";
|
||||||
unless ($version > $currrel) {
|
unless ($version > $currrel) {
|
||||||
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
|
$cmd .= " --isfinal --repo=/etc/yum.repos.d/fedora-updates.repo";
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,19 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
# Start the application
|
# Start the application
|
||||||
menu_launch_type('abrt');
|
menu_launch_type('abrt');
|
||||||
assert_screen 'abrt_runs';
|
# Check that the application has started.
|
||||||
|
# On KDE, the test failed when Abrt started
|
||||||
|
# and there was an error caught.
|
||||||
|
# Now, if we do not find the needle that
|
||||||
|
# checks Abrt has started, we will also
|
||||||
|
# check for a reported issue - if we find that
|
||||||
|
# we can assume that Abrt has started indeed.
|
||||||
|
unless (check_screen('abrt_runs', timeout => 30)) {
|
||||||
|
# The above check needs some timeout because
|
||||||
|
# it might take some time before Abrt starts.
|
||||||
|
assert_screen('abrt_runs_found_problem');
|
||||||
|
record_soft_failure("Abrt has reported issues.");
|
||||||
|
}
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user