]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
test(DMSQUASH): fix autooverlay test checks the entire root.img
authorNadzeya Hutsko <nadzeya.hutsko@canonical.com>
Mon, 19 Jan 2026 09:57:29 +0000 (10:57 +0100)
committerBenjamin Drung <bdrung@ubuntu.com>
Mon, 19 Jan 2026 13:14:03 +0000 (14:14 +0100)
commit362ea817df5207086971e0709042e5ec2428f7dc
tree2be8a3b3d067ae02c10f77680c633562a8b2e08a
parent02dd63578aec9bcf7ec1a4d5e88ffebe1aeac0df
test(DMSQUASH): fix autooverlay test checks the entire root.img

The test searched for the marker string in the entire root.img, but
the string also existed literally in test-init.sh embedded in the
first partition, causing a false positive. Fix by extracting and
searching only the second (overlay) partition.

Fixes: #2054
test/TEST-30-DMSQUASH/test.sh