From e0b2707a7bd68587ce57acbee776d87235e92e30 Mon Sep 17 00:00:00 2001 From: openQA web UI Date: Thu, 10 Oct 2024 11:10:30 +0800 Subject: [PATCH] Disk size can equal to default size --- tests/microos/image_checks.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/microos/image_checks.pm b/tests/microos/image_checks.pm index 80dabf6c6e03..edd9b2626983 100644 --- a/tests/microos/image_checks.pm +++ b/tests/microos/image_checks.pm @@ -25,7 +25,7 @@ sub run { # Verify that openQA resized the disk image my $disksize = script_output "sfdisk --show-size /dev/$disk"; - die "Disk not bigger than the default size, got $disksize KiB" unless $disksize > (20 * 1024 * 1024); + die "Disk not bigger than the default size, got $disksize KiB" unless $disksize >= (20 * 1024 * 1024); # Verify that the GPT has no errors (PMBR mismatch, backup GPT not at the end) # by looking for nonempty stderr.