ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
4fbe94
From 27d1acaa1d4c9299db461f0f1922c573be6a52c0 Mon Sep 17 00:00:00 2001
4fbe94
From: Frantisek Sumsal <fsumsal@redhat.com>
4fbe94
Date: Mon, 21 Oct 2019 18:39:39 +0200
4fbe94
Subject: [PATCH] test: bump the second partition's size to 50M
4fbe94
4fbe94
The former size (10M) caused systemd-journald to crash with SIGABRT when
4fbe94
used on a LUKS2 partition, as the LUKS2 metadata consume a significant
4fbe94
part of the 10M partition, thus leaving no space for the journal file
4fbe94
itself (relevant for TEST-02-CRYPTSETUP). This change has been present
4fbe94
in upstream for a while anyway.
4fbe94
4fbe94
Related: #1761519
4fbe94
rhel-only
4fbe94
---
4fbe94
 test/test-functions | 2 +-
4fbe94
 1 file changed, 1 insertion(+), 1 deletion(-)
4fbe94
4fbe94
diff --git a/test/test-functions b/test/test-functions
4fbe94
index af9d16140f..fe25a501da 100644
4fbe94
--- a/test/test-functions
4fbe94
+++ b/test/test-functions
4fbe94
@@ -433,7 +433,7 @@ create_empty_image() {
4fbe94
     [ -b "$LOOPDEV" ] || return 1
4fbe94
     echo "LOOPDEV=$LOOPDEV" >> $STATEFILE
4fbe94
     sfdisk "$LOOPDEV" <
4fbe94
-,390M
4fbe94
+,350M
4fbe94
 ,
4fbe94
 EOF
4fbe94