From: Nadzeya Hutsko Date: Mon, 19 Jan 2026 09:59:44 +0000 (+0100) Subject: test(DMSQUASH): add sync after writing the marker X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc669ad766f7271ddd388931bca178f1b25957d0;p=thirdparty%2Fdracut-ng.git test(DMSQUASH): add sync after writing the marker The change is done to ensure it is flushed to the persist partition before shutdown. --- diff --git a/test/TEST-30-DMSQUASH/assertion.sh b/test/TEST-30-DMSQUASH/assertion.sh index 23b383aa9..f54ad5212 100755 --- a/test/TEST-30-DMSQUASH/assertion.sh +++ b/test/TEST-30-DMSQUASH/assertion.sh @@ -4,4 +4,6 @@ if grep -qF ' rd.live.overlay=LABEL=persist ' /proc/cmdline; then # Writing to a file in the root filesystem lets test_run() verify that the autooverlay module successfully created # and formatted the overlay partition and that the dmsquash-live module used it when setting up the rootfs overlay. echo "dracut-autooverlay-success" > /overlay-marker + # Ensure the marker is flushed to disk before shutdown + sync /overlay-marker fi